diff options
author | Nathan Gass | 2013-07-17 11:32:00 +0000 |
---|---|---|
committer | Nathan Gass | 2013-07-17 11:32:00 +0000 |
commit | a53af0c94f8f1b6c00f5f5f3fc183a58aab6affe (patch) | |
tree | e342cff98982814220b7c375dd658acf75972e0c /tests/exec.t | |
parent | 48251be9125f8e23df180126d50422b0e6561030 (diff) | |
download | itools-a53af0c94f8f1b6c00f5f5f3fc183a58aab6affe.tar.gz itools-a53af0c94f8f1b6c00f5f5f3fc183a58aab6affe.tar.bz2 itools-a53af0c94f8f1b6c00f5f5f3fc183a58aab6affe.zip |
revert special --opts syntax as -opts does not warn on missing dashes anyway
Diffstat (limited to 'tests/exec.t')
-rwxr-xr-x | tests/exec.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/exec.t b/tests/exec.t index 4702681..da5113d 100755 --- a/tests/exec.t +++ b/tests/exec.t @@ -52,14 +52,14 @@ is( "... with disabled short option" ); is( - it::shell_command("echo {--opts}", array('--opts' => array('longopt' => true))), + it::shell_command("echo {-opts}", array('-opts' => array('longopt' => true))), "echo --longopt", - "... long option without dashes for --opts" + "... long option without dashes" ); is( - it::shell_command("echo {--opts}", array('--opts' => array('s' => true))), + it::shell_command("echo {-opts}", array('-opts' => array('s' => true))), "echo -s", - "... short option without dashes for --opts" + "... short option without dashes" ); foreach (array("", "C", "de_CH", "de_CH.utf8") as $locale) { |