diff options
author | Filipp Lepalaan <f@230.to> | 2013-07-12 11:53:26 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-07-12 11:53:26 +0300 |
commit | 0769422c15da1df36951fbdab5338ef6d0ab3f55 (patch) | |
tree | b5a2eb9e9ec745bcd41d2c1042e303ce10b96caa /gsxcl | |
parent | 89f03b1b33344f067b09f86bd7188963e2fd8d17 (diff) | |
download | gsxlib-0769422c15da1df36951fbdab5338ef6d0ab3f55.tar.gz gsxlib-0769422c15da1df36951fbdab5338ef6d0ab3f55.tar.bz2 gsxlib-0769422c15da1df36951fbdab5338ef6d0ab3f55.zip |
Fix order of argument check
Diffstat (limited to 'gsxcl')
-rwxr-xr-x | gsxcl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ EOT; } $opts = getopt( 's:u:p:r:e:m:q:f:d:' ); -list( $noun, $verb ) = array_slice( $argv, -2, 2 ); +list( $verb, $noun ) = array_slice( $argv, -2, 2 ); if( !in_array( $noun, $nouns )) { exit( "Error: invalid noun - {$noun}.\n" ); |