projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
469a416
)
We need to fix `anno -list -number'. Seems anno needs some more rework.
author
markus schnalke
<meillo@marmaro.de>
Fri, 23 Mar 2012 15:07:02 +0000
(16:07 +0100)
committer
markus schnalke
<meillo@marmaro.de>
Fri, 23 Mar 2012 15:07:02 +0000
(16:07 +0100)
uip/anno.c
patch
|
blob
|
history
diff --git
a/uip/anno.c
b/uip/anno.c
index
fbabfd4
..
1512823
100644
(file)
--- a/
uip/anno.c
+++ b/
uip/anno.c
@@
-167,7
+167,11
@@
main(int argc, char **argv)
if (strcmp(*argp, "all") == 0)
number = -1;
else if (!(number = atoi(*argp)))
- adios(NULL, "missing argument to %s", argp[-2]);
+ /* FIXME: fails for
+ ** `-list -number l:10'
+ ** but okay if we add `all'.
+ */
+ adios(NULL, "missing argument to %s", argp[-1]);
argp++;
}