ref: a79cda0a5da2373a0ed36a8924f2d0eafab984de
parent: ac039a82034f4a1cab196a6befd9b2d5dd1f49ce
author: Sigrid <ftrvxmtrx@gmail.com>
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)
--
⑨