File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,3 +3,6 @@ true-about = Returns true, a successful exit status.
33 Immediately returns with the exit status 0, except when invoked with one of the recognized
44 options. In those cases it will try to write the help or version text. Any IO error during this
55 operation causes the program to return 1 instead.
6+
7+ true-help-text = Print help information
8+ true-version-text = Print version information
Original file line number Diff line number Diff line change 1+
2+ true-about = Renvoie true, un code de sortie indiquant le succès.
3+
4+ Retourne immédiatement avec le code de sortie 0, sauf si l'une des options reconnues est utilisée.
5+ Dans ce cas, il essaiera d'afficher l'aide ou la version. Une erreur d'entrée/sortie pendant cette
6+ opération entraîne un retour avec le code de sortie 1.
7+ true-help-text = Afficher l'aide
8+ true-version-text = Afficher les informations de version
Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ pub fn uu_app() -> Command {
4949 . arg (
5050 Arg :: new ( "help" )
5151 . long ( "help" )
52- . help ( "Print help information" )
52+ . help ( get_message ( "true- help-text" ) )
5353 . action ( ArgAction :: Help ) ,
5454 )
5555 . arg (
5656 Arg :: new ( "version" )
5757 . long ( "version" )
58- . help ( "Print version information" )
58+ . help ( get_message ( "true- version-text" ) )
5959 . action ( ArgAction :: Version ) ,
6060 )
6161}
You can’t perform that action at this time.
0 commit comments