Skip to content

Commit

Permalink
rage: Fix CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Jan 16, 2024
1 parent 70d95e1 commit 11346c5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion rage/tests/cmd/rage-keygen/help.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
bin.name = "rage-keygen"
args = "--help"
stdout = """
Usage: rage-keygen[EXE] [OPTIONS]
Usage: rage-keygen[EXE] [OPTIONS] [INPUT]
Arguments:
[INPUT] Path to a file to read from.
Options:
-h, --help Print this help message and exit.
-V, --version Print version info and exit.
-o, --output <OUTPUT> Write the result to the file at path OUTPUT. Defaults to standard output.
-y Convert an identity file to a recipients file.
"""
stderr = ""
6 changes: 5 additions & 1 deletion rage/tests/cmd/rage-keygen/help_it.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ bin.name = "rage-keygen"
args = "--help"
env.add.LANG = "it"
stdout = """
Usage: rage-keygen[EXE] [OPTIONS]
Usage: rage-keygen[EXE] [OPTIONS] [INPUT]
Arguments:
[INPUT] Path to a file to read from.
Options:
-h, --help Print this help message and exit.
-V, --version Print version info and exit.
-o, --output <OUTPUT> Write the result to the file at path OUTPUT. Defaults to standard output.
-y Convert an identity file to a recipients file.
"""
stderr = ""

0 comments on commit 11346c5

Please sign in to comment.