projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34cf387
)
we weren't quite careful enough about testing for a single -
author
ewt
<devnull@localhost>
Wed, 7 Apr 1999 06:20:13 +0000
(06:20 +0000)
committer
ewt
<devnull@localhost>
Wed, 7 Apr 1999 06:20:13 +0000
(06:20 +0000)
CVS patchset: 2964
CVS date: 1999/04/07 06:20:13
popt/popt.c
patch
|
blob
|
history
diff --git
a/popt/popt.c
b/popt/popt.c
index
4549955
..
bfcc005
100644
(file)
--- a/
popt/popt.c
+++ b/
popt/popt.c
@@
-257,7
+257,7
@@
static const struct poptOption * findOption(const struct poptOption * table,
const struct poptOption * cb = NULL;
/* This happens when a single - is given */
- if (singleDash && !shortName)
+ if (singleDash && !shortName
&& !*longName
)
shortName = '-';
while (opt->longName || opt->shortName || opt->arg) {