diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-28 17:32:24 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-28 17:32:24 +0000 |
commit | b262c2b0b8553abdb208357d39b1ec633693a03a (patch) | |
tree | c5edddcbf55aafc613d32ff7c6c043139282558c | |
parent | 5ba6e7cf6f5b47e60b898d7084a08431a77fad1b (diff) | |
download | netpbm-mirror-b262c2b0b8553abdb208357d39b1ec633693a03a.tar.gz netpbm-mirror-b262c2b0b8553abdb208357d39b1ec633693a03a.tar.xz netpbm-mirror-b262c2b0b8553abdb208357d39b1ec633693a03a.zip |
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4195 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/yuy2topam.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/converter/other/yuy2topam.c b/converter/other/yuy2topam.c index 40ab98b3..49f284ac 100644 --- a/converter/other/yuy2topam.c +++ b/converter/other/yuy2topam.c @@ -31,12 +31,12 @@ struct CmdlineInfo { -static void -parseCommandLine(int argc, const char ** argv, +static void +parseCommandLine(int argc, const char ** argv, struct CmdlineInfo * const cmdlineP) { /* -------------------------------------------------------------------------- Parse program command line described in Unix standard form by argc - and argv. Return the information in the options as *cmdlineP. + and argv. Return the information in the options as *cmdlineP If command line is internally inconsistent (invalid options, etc.), issue error message to stderr and abort program. @@ -84,7 +84,7 @@ parseCommandLine(int argc, const char ** argv, cmdlineP->inputFileName = "-"; else { cmdlineP->inputFileName = argv[1]; - + if (argc-1 > 1) pm_error("Too many arguments (%u). The only non-option argument " "is the input file name.", argc-1); |