Check-in Number:
|
4316 | |
Date: |
2004-Jan-13 10:29:48 (local)
2004-Jan-13 09:29:48 (UTC) |
User: | rse |
Branch: | |
Comment: |
Print involved option character (instead of '?') on invalid
option for uuid(1) CLI.
Submitted by: Matthias Andree <matthias.andree@gmx.de>
PR: 29 |
Tickets: |
#29 | |
uuid_cli option character does not show invalid option, but '?' |
|
Inspections: |
|
Files: |
|
ossp-pkg/uuid/ChangeLog 1.5 -> 1.6
--- ChangeLog 2004/01/13 09:26:46 1.5
+++ ChangeLog 2004/01/13 09:29:48 1.6
@@ -13,6 +13,10 @@
Changes between 0.9.0 and 0.9.1 (11-Jan-2004 to xx-Jan-2004)
+ o Print involved option character (instead of '?') on invalid
+ option for uuid(1) CLI.
+ [Matthias Andree <matthias.andree@gmx.de>]
+
o Fixed "make install" and "make uninstall": the uuid(1) CLI
has to be [un]installed through GNU libtool, too.
[Matthias Andree <matthias.andree@gmx.de>]
|
|
ossp-pkg/uuid/uuid_cli.c 1.7 -> 1.8
--- uuid_cli.c 2004/01/10 10:49:00 1.7
+++ uuid_cli.c 2004/01/13 09:29:48 1.8
@@ -129,7 +129,7 @@
}
break;
default:
- usage("invalid option '%c'", ch);
+ usage("invalid option '%c'", optopt);
}
}
argv += optind;
|
|