9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] quality of life usage consistency patch
@ 2020-03-09  2:06 Sean Hinchee
  2020-03-09  3:14 ` ori
  2020-03-10 17:56 ` ori
  0 siblings, 2 replies; 5+ messages in thread
From: Sean Hinchee @ 2020-03-09  2:06 UTC (permalink / raw)
  To: 9front

A not so small patch set for normalizing usage messages to match the 
greater of the two styles, usage vs. Usage.

I found a few other inconsistencies between programs and attempted to 
correct instances where information seemed to be missing or lost. This 
includes missing arguments, etc. in a manual (as per mothra(1)) and in 
usage messages where arguments existed in the manual, instead.

In particular, gzip(1) seems to mismatch particularly with compress(1). 
I haven't attempted to correct this yet as I'm not sure what the best 
approach would be since the manual seems to try to normalize flags 
across a set of programs which don't necessarily share all arguments.

I hope this isn't too much bikeshedding ☺.

Python and ghostscript were intentionally ignored as I wasn't sure what 
the protocol should be for changing these.

Summary from my scratch file:

# Rc scripts

- ssam -- used $0 erroneously inside a function
- tap -- s/Usage/usage/ and spacing
- sig -- s/Usage/usage/ and exit usage
- man -- s/Usage/usage/ and exit usage
- juke -- s/Usage/usage/ and >[1=2] and correct program name from classical
- doc2txt -- s/Usage/usage/
- lookman -- s/Usage/usage/
- psu -- s/Usage/usage/
- approx -- add >[1=2]
- lp -- add >[1=2]
- psfax -- add >[1=2] and exit usage
- doctype -- add usage check and message as no arguments causes null 
list error

# C programs

- wc -- s/Usage/usage/
- trace -- s/Usage/usage/ and match manual closer
- tcs/tcs -- s/Usage/usage/ and match manual
- tcs/font/merge -- s/Usage/usage/
- tcs/font/main -- s/Usage/usage/
- swap -- s/Usage/usage/
- sum -- s/Usage/usage/ and match manual
- ratrace -- s/Usage/usage/
- mothra -- s/Usage/usage/
- mk -- s/Usage/usage/
- getmap -- s/Usage/usage/
- urlencode -- s/Usage/usage/
- dict -- s/Usage/usage/ and match manual closer
- dict/canonind -- s/Usage/usage/ and exit usage
- db -- s/Usage/usage/
- compress -- s/Usage/usage/
- colors -- s/Usage/usage/
- bc -- s/Usage/usage/
- awk -- s/Usage/usage/ and match manual closer
- httpauth -- s/Usage/usage/
- aan -- s/Usage/usage/

# Manuals

- mothra -- add new arguments

--------------------

Okturing: http://okturing.com/src/7952/body

Inlined patches:

diff -r 165070cdd62b rc/bin/approx
--- a/rc/bin/approx	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/approx	Sun Mar 08 20:46:01 2020 -0500
@@ -1,6 +1,6 @@
  #!/bin/rc
  if(! ~ $#* 3){
-	echo usage: approx ratio min max
+	echo usage: approx ratio min max >[1=2]
  	exit usage
  }
  echo $1 $2 $3 | awk '
diff -r 165070cdd62b rc/bin/doc2txt
--- a/rc/bin/doc2txt	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/doc2txt	Sun Mar 08 20:46:01 2020 -0500
@@ -3,7 +3,7 @@
  rfork en

  if(! ~ $#* 0 1) {
-	echo 'Usage: doc2txt [file.doc]' >[1=2]
+	echo 'usage: doc2txt [file.doc]' >[1=2]
  	exit usage
  }

diff -r 165070cdd62b rc/bin/doctype
--- a/rc/bin/doctype	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/doctype	Sun Mar 08 20:46:01 2020 -0500
@@ -1,6 +1,11 @@
  #!/bin/rc
  # doctype:  synthesize proper command line for troff

+if(~ $#* 0){
+	echo 'usage: doctype [ -n ] [ -T dev ] [ file ] ...' >[1=2]
+	exit usage
+}
+
  troff=troff
  eqn=eqn
  prefer=prefer
diff -r 165070cdd62b rc/bin/juke
--- a/rc/bin/juke	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/juke	Sun Mar 08 20:46:01 2020 -0500
@@ -26,7 +26,7 @@
  		sname=$2
  		shift
  	case -*
-		echo Usage: classical [-d level] [-t] [-h srvhost]
+		echo usage: juke [-d level] [-t] [-h srvhost] >[1=2]
  		exit usage
  	}
  	shift
diff -r 165070cdd62b rc/bin/lookman
--- a/rc/bin/lookman	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/lookman	Sun Mar 08 20:46:01 2020 -0500
@@ -16,7 +16,7 @@

  *=`{echo $*|tr A-Z a-z|tr -dc 'a-z0-9_. \012'}	# fold case, delete 
funny chars
  if(~ $#* 0){
-	echo Usage: lookman key ... >/fd/2
+	echo usage: lookman key ... >/fd/2
  	exit usage
  }
  look $1 $index | sed 's/.*	//' | sort -u >$t1
diff -r 165070cdd62b rc/bin/lp
--- a/rc/bin/lp	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/lp	Sun Mar 08 20:46:01 2020 -0500
@@ -93,7 +93,7 @@
  argv0=lp

  if(! ifs=() eval `{aux/getflags $*}) {
-	echo $USAGE
+	echo $USAGE >[1=2]
  	exit usage
  }
  if(~ $flagd '?'){
diff -r 165070cdd62b rc/bin/man
--- a/rc/bin/man	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/man	Sun Mar 08 20:46:01 2020 -0500
@@ -59,8 +59,8 @@
  search=yes
  while(~ $d 0) {
  	if(~ $#* 0) {
-		echo 'Usage: man [-bntpPSw] [0-9] [0-9] ... name1 name2 ...' >[1=2]
-		exit
+		echo 'usage: man [-bntpPSw] [0-9] [0-9] ... name1 name2 ...' >[1=2]
+		exit usage
  	}
  	if(test -d $S/$1){
  		sec=($sec $1)
diff -r 165070cdd62b rc/bin/psfax
--- a/rc/bin/psfax	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/psfax	Sun Mar 08 20:46:01 2020 -0500
@@ -10,8 +10,8 @@

  switch($#*){
  case 0 1
-	echo usage: $0 telephone-number recipient '[files]'
-	exit 0
+	echo usage: $0 telephone-number recipient '[files]' >[1=2]
+	exit usage
  case 2
  	stdin=yes
  }
diff -r 165070cdd62b rc/bin/psu
--- a/rc/bin/psu	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/psu	Sun Mar 08 20:46:01 2020 -0500
@@ -15,6 +15,6 @@
  case 1
  	ps $flags | sed -n '/^'$1' /p'
  case *
-	echo Usage: psu '[ps-flags] [ user ]' >[1=2]
+	echo usage: psu '[ps-flags] [ user ]' >[1=2]
  	exit usage
  }
diff -r 165070cdd62b rc/bin/sig
--- a/rc/bin/sig	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/sig	Sun Mar 08 20:46:01 2020 -0500
@@ -5,8 +5,8 @@

  *=`{echo $*|tr A-Z a-z|tr -dc 'a-z0-9_ \012'}	# fold case, delete 
funny chars
  if(~ $#* 0){
-	echo Usage: sig function ... >/fd/2
-	exit 1
+	echo usage: sig function ... >/fd/2
+	exit usage
  }

  for (i) {
diff -r 165070cdd62b rc/bin/ssam
--- a/rc/bin/ssam	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/ssam	Sun Mar 08 20:46:01 2020 -0500
@@ -4,7 +4,8 @@

  flagfmt='n,e script,f sfile'
  args='[ file ... ]'
-fn usage { echo $0 '[ -n ] [ -e script ] [ -f sfile ] [ file ... ]' 
 >[1=2] }
+argv0=$0
+fn usage { echo usage: $argv0 '[ -n ] [ -e script ] [ -f sfile ] [ file 
... ]' >[1=2] }
  if(! ifs=() eval `{aux/getflags $*}){
  	usage
  	exit usage
diff -r 165070cdd62b rc/bin/tap
--- a/rc/bin/tap	Wed Feb 19 19:26:43 2020 +0100
+++ b/rc/bin/tap	Sun Mar 08 20:46:01 2020 -0500
@@ -2,7 +2,7 @@
  rfork e

  if(~ $#* 0){
-	echo 'Usage: ' $0 '[ pid ... ]' >[1=2]
+	echo 'usage:' $0 '[ pid ... ]' >[1=2]
  	exit usage
  }

diff -r 165070cdd62b sys/man/1/mothra
--- a/sys/man/1/mothra	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/man/1/mothra	Sun Mar 08 20:46:01 2020 -0500
@@ -4,7 +4,7 @@
  .SH SYNOPSIS
  .B mothra
  [
-.B -va
+.B -dvak
  ]
  [
  .B -m
@@ -71,6 +71,9 @@
  .B -v
  Verbose mode. Causes HTML errors to be printed
  on file-descriptor 2.
+.TP
+.B -d
+Enables debug mode.
  .PP
  The display contains the last message from
  .I mothra,
diff -r 165070cdd62b sys/src/cmd/aan.c
--- a/sys/src/cmd/aan.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/aan.c	Sun Mar 08 20:46:01 2020 -0500
@@ -65,7 +65,7 @@
  static void
  usage(void)
  {
-	fprint(2, "Usage: %s [-cd] [-m maxto] dialstring|netdir\n", argv0);
+	fprint(2, "usage: %s [-cd] [-m maxto] dialstring|netdir\n", argv0);
  	exits("usage");
  }

diff -r 165070cdd62b sys/src/cmd/auth/httpauth.c
--- a/sys/src/cmd/auth/httpauth.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/auth/httpauth.c	Sun Mar 08 20:46:01 2020 -0500
@@ -5,7 +5,7 @@
  void
  usage(void)
  {
-	fprint(2, "Usage:\n\t%s user pass\n\t%s authorization\n", argv0, argv0);
+	fprint(2, "usage:\n\t%s user pass\n\t%s authorization\n", argv0, argv0);
  	exits("usage");
  }

diff -r 165070cdd62b sys/src/cmd/awk/main.c
--- a/sys/src/cmd/awk/main.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/awk/main.c	Sun Mar 08 20:46:01 2020 -0500
@@ -62,7 +62,7 @@

  	cmdname = argv[0];
  	if (argc == 1) {
-		Bprint(&stderr, "Usage: %s [-F fieldsep] [-mf n] [-mr n] [-v 
var=value] [-f programfile | 'program'] [file ...]\n", cmdname);
+		Bprint(&stderr, "usage: %s [-F fieldsep] [-d] [-mf n] [-mr n] [-safe] 
[-v var=value] [-f programfile | 'program'] [file ...]\n", cmdname);
  		exits("usage");
  	}

diff -r 165070cdd62b sys/src/cmd/bc.y
--- a/sys/src/cmd/bc.y	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/bc.y	Sun Mar 08 20:46:01 2020 -0500
@@ -956,7 +956,7 @@
  			sflag++;
  			break;
  		default:
-			fprint(2, "Usage: bc [-cdls] [file ...]\n");
+			fprint(2, "usage: bc [-cdls] [file ...]\n");
  			exits("usage");
  		}
  		argc--;
diff -r 165070cdd62b sys/src/cmd/colors.c
--- a/sys/src/cmd/colors.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/colors.c	Sun Mar 08 20:46:01 2020 -0500
@@ -102,7 +102,7 @@

  	if(argc){
  	Usage:
-		fprint(2, "Usage: %s [-rx]\n", argv0);
+		fprint(2, "usage: %s [-rx]\n", argv0);
  		exits("usage");
  	}

diff -r 165070cdd62b sys/src/cmd/compress/compress.c
--- a/sys/src/cmd/compress/compress.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/compress/compress.c	Sun Mar 08 20:46:01 2020 -0500
@@ -112,9 +112,9 @@
  Usage()
  {
  #ifdef DEBUG
-	fprintf(stderr,"Usage: compress [-cdfDV] [-b maxbits] [file ...]\n");
+	fprintf(stderr,"usage: compress [-cdfDV] [-b maxbits] [file ...]\n");
  #else
-	fprintf(stderr,"Usage: compress [-cdfvV] [-b maxbits] [file ...]\n");
+	fprintf(stderr,"usage: compress [-cdfvV] [-b maxbits] [file ...]\n");
  #endif /* DEBUG */
  }

diff -r 165070cdd62b sys/src/cmd/db/main.c
--- a/sys/src/cmd/db/main.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/db/main.c	Sun Mar 08 20:46:01 2020 -0500
@@ -93,7 +93,7 @@
  		sprint(b2, "/proc/%s/mem", argv[0]);
  		corfil = b2;
  	} else if (argc > 0) {
-		fprint(2, "Usage: db [-kw] [-m machine] [-I dir] [symfile] [pid]\n");
+		fprint(2, "usage: db [-kw] [-m machine] [-I dir] [symfile] [pid]\n");
  		exits("usage");
  	}
  	if (!symfil)
diff -r 165070cdd62b sys/src/cmd/dict/canonind.awk
--- a/sys/src/cmd/dict/canonind.awk	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/dict/canonind.awk	Sun Mar 08 20:46:01 2020 -0500
@@ -1,8 +1,8 @@
  # turn output of mkindex into form needed by dict
  BEGIN {
  	if(ARGC != 2) {
-		print "Usage: awk -F'	' -f canonind.awk rawindex > index"
-		exit 1
+		print "usage: awk -F'	' -f canonind.awk rawindex > index"
+		exit usage
  	}
  	file = ARGV[1]
  	ARGV[1] = ""
diff -r 165070cdd62b sys/src/cmd/dict/dict.c
--- a/sys/src/cmd/dict/dict.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/dict/dict.c	Sun Mar 08 20:46:01 2020 -0500
@@ -160,7 +160,7 @@
  	int i;
  	char *a, *b;

-	Bprint(bout, "Usage: %s [-d dict] [-k] [-c cmd] [word]\n", argv0);
+	Bprint(bout, "usage: %s [-k] [-d dict] [-c cmd] [pattern]\n", argv0);
  	Bprint(bout, "dictionaries (brackets mark dictionaries not present on 
this system):\n");
  	for(i = 0; dicts[i].name; i++){
  		a = b = "";
diff -r 165070cdd62b sys/src/cmd/getmap.c
--- a/sys/src/cmd/getmap.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/getmap.c	Sun Mar 08 20:46:01 2020 -0500
@@ -131,7 +131,7 @@
  	int fd, id;

  	if(argc>2){
-		fprint(2, "Usage: %s colormap\n", argv[0]);
+		fprint(2, "usage: %s colormap\n", argv[0]);
  		exits("usage");
  	}
  	map = "rgbv";
diff -r 165070cdd62b sys/src/cmd/mk/main.c
--- a/sys/src/cmd/mk/main.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/mk/main.c	Sun Mar 08 20:46:01 2020 -0500
@@ -236,7 +236,7 @@
  badusage(void)
  {

-	fprint(2, "Usage: mk [-f file] [-n] [-a] [-e] [-t] [-k] [-i] [-d[egp]] 
[targets ...]\n");
+	fprint(2, "usage: mk [-f file] [-n] [-a] [-e] [-t] [-k] [-i] [-d[egp]] 
[targets ...]\n");
  	Exit();
  }

diff -r 165070cdd62b sys/src/cmd/mothra/mothra.c
--- a/sys/src/cmd/mothra/mothra.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/mothra/mothra.c	Sun Mar 08 20:46:01 2020 -0500
@@ -331,7 +331,7 @@
  	switch(argc){
  	default:
  	Usage:
-		fprint(2, "Usage: %s [-dvak] [-m mtpt] [url]\n", argv0);
+		fprint(2, "usage: %s [-dvak] [-m mtpt] [url]\n", argv0);
  		exits("usage");
  	case 0:
  		url=getenv("url");
diff -r 165070cdd62b sys/src/cmd/ratrace.c
--- a/sys/src/cmd/ratrace.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/ratrace.c	Sun Mar 08 20:46:01 2020 -0500
@@ -156,7 +156,7 @@
  void
  usage(void)
  {
-	fprint(2, "Usage: ratrace [-c cmd [arg...]] | [pid]\n");
+	fprint(2, "usage: ratrace [-c cmd [arg...]] | [pid]\n");
  	threadexits("usage");
  }

diff -r 165070cdd62b sys/src/cmd/sum.c
--- a/sys/src/cmd/sum.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/sum.c	Sun Mar 08 20:46:01 2020 -0500
@@ -10,7 +10,7 @@
  void
  usage(void)
  {
-	fprint(2, "Usage: %s [-r5] [files]\n", argv0);
+	fprint(2, "usage: %s [-5r] [file ...]\n", argv0);
  	exits("usage");
  }

diff -r 165070cdd62b sys/src/cmd/swap.c
--- a/sys/src/cmd/swap.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/swap.c	Sun Mar 08 20:46:01 2020 -0500
@@ -12,7 +12,7 @@
  	} ARGEND;

  	if(argc != 1){
-		fprint(2, "Usage: swap file\n");
+		fprint(2, "usage: swap file\n");
  		exits("usage");
  	}

diff -r 165070cdd62b sys/src/cmd/tcs/font/main.c
--- a/sys/src/cmd/tcs/font/main.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/tcs/font/main.c	Sun Mar 08 20:46:01 2020 -0500
@@ -82,6 +82,6 @@
  static void
  usage(void)
  {
-	fprint(2, "Usage: %s [-s] from to\n", argv0);
+	fprint(2, "usage: %s [-s] from to\n", argv0);
  	exits("usage");
  }
diff -r 165070cdd62b sys/src/cmd/tcs/font/merge.c
--- a/sys/src/cmd/tcs/font/merge.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/tcs/font/merge.c	Sun Mar 08 20:46:01 2020 -0500
@@ -65,7 +65,7 @@
  static void
  usage(void)
  {
-	fprint(2, "Usage: %s file ...\n", argv0);
+	fprint(2, "usage: %s file ...\n", argv0);
  	exits("usage");
  }

diff -r 165070cdd62b sys/src/cmd/tcs/tcs.c
--- a/sys/src/cmd/tcs/tcs.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/tcs/tcs.c	Sun Mar 08 20:46:01 2020 -0500
@@ -96,7 +96,7 @@
  void
  usage(void)
  {
-	fprint(2, "Usage: %s [-slv] [-f cs] [-t cs] [file ...]\n", argv0);
+	fprint(2, "usage: %s [-slcv] [-f ics] [-t ocs] [file ...]\n", argv0);
  	verbose = 1;
  	list();
  	exits("usage");
diff -r 165070cdd62b sys/src/cmd/trace.c
--- a/sys/src/cmd/trace.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/trace.c	Sun Mar 08 20:46:01 2020 -0500
@@ -124,7 +124,7 @@
  static void
  usage(void)
  {
-	fprint(2, "Usage: %s [-d profdev] [-w] [-v] [-t triggerproc] 
[processes]\n", argv0);
+	fprint(2, "usage: %s [-d profdev] [-w] [-v] [-t triggerproc] [pid 
...]\n", argv0);
  	exits(nil);
  }

diff -r 165070cdd62b sys/src/cmd/urlencode.c
--- a/sys/src/cmd/urlencode.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/urlencode.c	Sun Mar 08 20:46:01 2020 -0500
@@ -26,7 +26,7 @@
  void
  usage(void)
  {
-	fprint(2, "Usage: %s [ -d ] [ file ]\n", argv0);
+	fprint(2, "usage: %s [ -d ] [ file ]\n", argv0);
  	exits("usage");
  }

diff -r 165070cdd62b sys/src/cmd/wc.c
--- a/sys/src/cmd/wc.c	Wed Feb 19 19:26:43 2020 +0100
+++ b/sys/src/cmd/wc.c	Sun Mar 08 20:46:01 2020 -0500
@@ -28,7 +28,7 @@
  	case 'b': pbadr++; break;
  	case 'c': pchar++; break;
  	default:
-		fprint(2, "Usage: %s [-lwrbc] [file ...]\n", argv0);
+		fprint(2, "usage: %s [-lwrbc] [file ...]\n", argv0);
  		exits("usage");
  	} ARGEND
  	if(pline+pword+prune+pbadr+pchar == 0) {


Cheers,
Sean


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] quality of life usage consistency patch
  2020-03-09  2:06 [9front] quality of life usage consistency patch Sean Hinchee
@ 2020-03-09  3:14 ` ori
  2020-03-09  3:47   ` Sean Hinchee
  2020-03-10 17:56 ` ori
  1 sibling, 1 reply; 5+ messages in thread
From: ori @ 2020-03-09  3:14 UTC (permalink / raw)
  To: henesy.dev, 9front

Thanks for taking the time to do this!

> A not so small patch set for normalizing usage messages to match the 
> greater of the two styles, usage vs. Usage.

I'll take a look at this, but it'll take a bit of time. I want
to make sure that both the usage and the docs match the code.
 
> I found a few other inconsistencies between programs and attempted to 
> correct instances where information seemed to be missing or lost. This 
> includes missing arguments, etc. in a manual (as per mothra(1)) and in 
> usage messages where arguments existed in the manual, instead.
> 
> In particular, gzip(1) seems to mismatch particularly with compress(1). 
> I haven't attempted to correct this yet as I'm not sure what the best 
> approach would be since the manual seems to try to normalize flags 
> across a set of programs which don't necessarily share all arguments.

Is the issue that the flags don't match between them in the manpage?
If so, how does this sound:

	The options flags have a common meaning across programs,
	when implemented:

		-a:	alligator clips are attached to the files
		-b: bromine is poured down your pants
		-c: charlie chaplin is summoned

	These flags are specific to gzip:

		-d: a pack of wild dogs chases chaplin, if the -c flag is given.

	...etc

> I hope this isn't too much bikeshedding ☺.

printing the correct set of flags is valuable.
if you were only changing 'Usage' to 'usage', I'd call it pointless.

> Python and ghostscript were intentionally ignored as I wasn't sure what 
> the protocol should be for changing these.

Yeah, not sure -- I'd leave the usage output untouched, so long
as its correct. They're alien anyways.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] quality of life usage consistency patch
  2020-03-09  3:14 ` ori
@ 2020-03-09  3:47   ` Sean Hinchee
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Hinchee @ 2020-03-09  3:47 UTC (permalink / raw)
  To: ori, 9front

> 
> Is the issue that the flags don't match between them in the manpage?
> If so, how does this sound:
> 
> 	The options flags have a common meaning across programs,
> 	when implemented:
> 
> 		-a:	alligator clips are attached to the files
> 		-b: bromine is poured down your pants
> 		-c: charlie chaplin is summoned
> 
> 	These flags are specific to gzip:
> 
> 		-d: a pack of wild dogs chases chaplin, if the -c flag is given.
> 
> 	...etc
> 

This seems fine to me, I don't have a better alternative, at least.

Cheers,
Sean


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] quality of life usage consistency patch
  2020-03-09  2:06 [9front] quality of life usage consistency patch Sean Hinchee
  2020-03-09  3:14 ` ori
@ 2020-03-10 17:56 ` ori
  2020-03-10 18:03   ` sl
  1 sibling, 1 reply; 5+ messages in thread
From: ori @ 2020-03-10 17:56 UTC (permalink / raw)
  To: henesy.dev, 9front


> Inlined patches:
> 

Appreciated,but gmail garbled it -- the web UI
replaces tabs with spaces. Applied from the
okturing patches, with minor tweaks (the usage
for juke was missing a couple of flags).



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] quality of life usage consistency patch
  2020-03-10 17:56 ` ori
@ 2020-03-10 18:03   ` sl
  0 siblings, 0 replies; 5+ messages in thread
From: sl @ 2020-03-10 18:03 UTC (permalink / raw)
  To: 9front

>> Inlined patches:
>> 
> 
> Appreciated,but gmail garbled it -- the web UI
> replaces tabs with spaces. Applied from the
> okturing patches, with minor tweaks (the usage
> for juke was missing a couple of flags).

haha

sl


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-10 18:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09  2:06 [9front] quality of life usage consistency patch Sean Hinchee
2020-03-09  3:14 ` ori
2020-03-09  3:47   ` Sean Hinchee
2020-03-10 17:56 ` ori
2020-03-10 18:03   ` sl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).