summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2021-04-13 13:28:31 +0200
committerSigrid <ftrvxmtrx@gmail.com>2021-04-13 13:28:31 +0200
commitff220ea29b6158670953905d3e62a6a4eaa3dd31 (patch)
treef827e57216957c7e50bbf2729b9eb119a8b79ad3
parentc613382caf1c0bffa38dc09f113d8c11dbc47628 (diff)
downloadplan9front-ff220ea29b6158670953905d3e62a6a4eaa3dd31.tar.xz
zuke: remove -G option (old playlists not supported anymore)
-rw-r--r--sys/src/cmd/audio/zuke/zuke.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/src/cmd/audio/zuke/zuke.c b/sys/src/cmd/audio/zuke/zuke.c
index 665a4d7f1..15245a913 100644
--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -1057,7 +1057,7 @@ plumbaudio(void *kbd)
static void
usage(void)
{
- fprint(2, "usage: %s [-s] [-G] [-c aAdDtTp]\n", argv0);
+ fprint(2, "usage: %s [-s] [-c aAdDtTp]\n", argv0);
sysfatal("usage");
}
@@ -1080,11 +1080,10 @@ threadmain(int argc, char **argv)
{ nil, &ind, CHANRCV },
{ nil, nil, CHANEND },
};
- int n, scrolling, oldpcur, oldbuttons, pnew, shuffled, nogui;
+ int n, scrolling, oldpcur, oldbuttons, pnew, shuffled;
char buf[64];
shuffled = 0;
- nogui = 0;
ARGBEGIN{
case 'd':
debug++;
@@ -1097,9 +1096,6 @@ threadmain(int argc, char **argv)
if(strlen(cols) >= nelem(colwidth))
sysfatal("max %d columns allowed", nelem(colwidth));
break;
- case 'G':
- nogui = 1;
- break;
default:
usage();
break;
@@ -1112,11 +1108,6 @@ threadmain(int argc, char **argv)
close(0);
Binit(&out, 1, OWRITE);
- if(nogui){
- writeplist();
- Bterm(&out);
- threadexitsall(nil);
- }
pnotifies = fd2path(1, buf, sizeof(buf)) == 0 && strcmp(buf, "/dev/cons") != 0;
if(initdraw(nil, nil, "zuke") < 0)