aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/getflags.c
diff options
context:
space:
mode:
authorAnthony Martin <ality@pbrane.org>2010-10-07 03:35:43 -0400
committerRuss Cox <rsc@swtch.com>2010-10-07 03:35:43 -0400
commitc54202e5776f228276ec95e6befcceda92fe2042 (patch)
treea9071e223514b887b6f5edcb9d63133f01657ffe /src/cmd/getflags.c
parenta6ba36b663ae4903ef5cc692570af15a7fcf4fcc (diff)
downloadplan9port-c54202e5776f228276ec95e6befcceda92fe2042.tar.gz
plan9port-c54202e5776f228276ec95e6befcceda92fe2042.tar.bz2
plan9port-c54202e5776f228276ec95e6befcceda92fe2042.zip
getflags: use shell quoting
R=rsc CC=codebot http://codereview.appspot.com/2065042
Diffstat (limited to 'src/cmd/getflags.c')
-rw-r--r--src/cmd/getflags.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/getflags.c b/src/cmd/getflags.c
index bb0edf28..7c7d1787 100644
--- a/src/cmd/getflags.c
+++ b/src/cmd/getflags.c
@@ -43,6 +43,7 @@ main(int argc, char *argv[])
int i, n;
Fmt fmt;
+ doquote = needsrcquote;
quotefmtinstall();
argv0 = argv[0]; /* for sysfatal */