Skip to content

Commit

Permalink
Fix cli argument parsing precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpulvis committed Sep 15, 2023
1 parent 1800c93 commit 200b537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ The oursh utility is a command language interpreter that shall execute commands
read from a command line string, the standard input, or a specified file.
Usage:
oursh [options] [<command_file> [<arguments>...]]
oursh -s [options] [<arguments>...]
oursh -c [options] <command_string> [<command_name> [<arguments>...]]
oursh -s [options] [<arguments>...]
oursh [options] [<command_file> [<arguments>...]]
By default our will read commands from the command_file operand. If there are no
operands and the -c option is not specified, the -s option shall be assumed.
Expand Down

0 comments on commit 200b537

Please sign in to comment.