Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/uu/false/locales/en-US.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ false-about = Returns false, an unsuccessful exit status.
Immediately returns with the exit status 1. When invoked with one of the recognized options it
will try to write the help or version text. Any IO error during this operation is diagnosed, yet
the program will also return 1.

false-help-text = Print help information
false-version-text = Print version information
7 changes: 7 additions & 0 deletions src/uu/false/locales/fr-FR.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
false-about = Renvoie false, un code de sortie indiquant un échec.

Retourne immédiatement avec le code de sortie 1. Lorsqu'il est invoqué avec l'une des options reconnues,
il tente d'afficher l'aide ou la version. Toute erreur d'entrée/sortie pendant cette opération est signalée,
mais le programme retourne également 1.
false-help-text = Afficher l'aide
false-version-text = Afficher les informations de version
4 changes: 2 additions & 2 deletions src/uu/false/src/false.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ pub fn uu_app() -> Command {
.arg(
Arg::new("help")
.long("help")
.help("Print help information")
.help(get_message("false-help-text"))
.action(ArgAction::Help),
)
.arg(
Arg::new("version")
.long("version")
.help("Print version information")
.help(get_message("false-version-text"))
.action(ArgAction::Version),
)
}
Loading