ref: ff220ea29b6158670953905d3e62a6a4eaa3dd31
parent: c613382caf1c0bffa38dc09f113d8c11dbc47628
author: Sigrid <[email protected]>
date: Tue Apr 13 09:28:31 EDT 2021
zuke: remove -G option (old playlists not supported anymore)
--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -1057,7 +1057,7 @@
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 @@
{ 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 @@
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 @@
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)