aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README6
-rwxr-xr-xblue6
-rw-r--r--blue.16
3 files changed, 9 insertions, 9 deletions
diff --git a/README b/README
index 36cf593..4bc832c 100644
--- a/README
+++ b/README
@@ -2,9 +2,9 @@ NAME
blue - Creates table of when the blue hour etc. occurs
SYNPOSIS
- blue [-d delev]* [-D delev]* [-e elev]* [-m elev]* [-h [-L] | -u | -L]
- [-l lat:lon | -l loc] [-s year-month-day | -s -] [-r num[h|m|s]]
- [-bBgGnN]
+ blue [-d delev] ... [-D delev] ... [-e elev] ... [-m elev] ...
+ [-h [-L] | -u | -L] [-l lat:lon | -l loc] [-s year-month-day | -s -]
+ [-r num[h|m|s]] [-bBgGnN]
DESCRIPTION
blue prints a list of time point when the select event occurs.
diff --git a/blue b/blue
index a10e3e8..17b3fbe 100755
--- a/blue
+++ b/blue
@@ -26,9 +26,9 @@ res = '1s'
## Parse command line
argv0 = sys.argv[0] if len(sys.argv) > 0 else 'blue'
def usage():
- opts = '[-d delev]* [-D delev]* [-e elev]* [-m elev]* [-h [-L] | -u | -L]'
- opts += ' [-l lat:lon | -l loc] [-s year-month-day | -s -] [-r num[h|m|s]]'
- opts += ' [-bBgGnN]'
+ opts = '[-d delev] ... [-D delev] ... [-e elev]* [-m elev] ...'
+ opts += ' [-h [-L] | -u | -L] [-l lat:lon | -l loc] [-s year-month-day | -s -]'
+ opts += ' [-r num[h|m|s]] [-bBgGnN]'
print('Usage: %s %s' % (argv0, opts), file = sys.stderr)
sys.exit(1)
i, n = 1, len(sys.argv)
diff --git a/blue.1 b/blue.1
index 6a16d69..106aefd 100644
--- a/blue.1
+++ b/blue.1
@@ -3,9 +3,9 @@
blue - Creates table of when the blue hour etc. occurs
.SH "SYNPOSIS"
.nf
-\fBblue\fP [\fB-d\fP \fIdelev\fP]* [\fB-D\fP \fIdelev\fP]* [\fB-e\fP \fIelev\fP]* [\fB-m\fP \fIelev\fP]* [\fB-h\fP [\fB-L\fP] | \fB-u\fP | \fB-L\fP]
- [\fB-l\fP \fIlat\fP\fB:\fP\fIlon\fP | \fB-l\fP \fIloc\fP] [\fB-s\fP \fIyear\fP\fB-\fP\fImonth\fP\fB-\fP\fIday\fP | \fB-s\fP \fB-\fP] [\fB-r\fP \fInum\fP[\fBh\fP|\fBm\fP|\fBs\fP]]
- [\fB-bBgGnN\fP]
+\fBblue\fP [\fB-d\fP \fIdelev\fP] ... [\fB-D\fP \fIdelev\fP] ... [\fB-e\fP \fIelev\fP] ... [\fB-m\fP \fIelev\fP] ...
+ [\fB-h\fP [\fB-L\fP] | \fB-u\fP | \fB-L\fP] [\fB-l\fP \fIlat\fP\fB:\fP\fIlon\fP | \fB-l\fP \fIloc\fP] [\fB-s\fP \fIyear\fP\fB-\fP\fImonth\fP\fB-\fP\fIday\fP | \fB-s\fP \fB-\fP]
+ [\fB-r\fP \fInum\fP[\fBh\fP|\fBm\fP|\fBs\fP]] [\fB-bBgGnN\fP]
.fi
.SH "DESCRIPTION"
.B blue