projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e8148
)
(argmatch_invalid): Use quotearg_n_style (0, ...
author
Jim Meyering
<jim@meyering.net>
Thu, 11 Oct 2001 15:52:17 +0000
(15:52 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 11 Oct 2001 15:52:17 +0000
(15:52 +0000)
and quote_n (1, ... to avoid clobbering a buffer.
lib/argmatch.c
patch
|
blob
|
history
diff --git
a/lib/argmatch.c
b/lib/argmatch.c
index af96c8cbed61f7f8c47ccdd3e6ec1521e68c2164..c86ba71b4634272b81f4d73c03dbaa9c7830bdc6 100644
(file)
--- a/
lib/argmatch.c
+++ b/
lib/argmatch.c
@@
-160,8
+160,8
@@
argmatch_invalid (const char *context, const char *value, int problem)
? _("invalid argument %s for %s")
: _("ambiguous argument %s for %s"));
- error (0, 0, format, quotearg_
style (
ARGMATCH_QUOTING_STYLE, value),
- quote
(
context));
+ error (0, 0, format, quotearg_
n_style (0,
ARGMATCH_QUOTING_STYLE, value),
+ quote
_n (1,
context));
}
/* List the valid arguments for argmatch.