Skip to content

Commit 1b1e2aa

Browse files
committed
m
1 parent 19f339f commit 1b1e2aa

17 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/uu/cp/src/cp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ pub fn uu_app() -> Command {
524524
Command::new("cp")
525525
.version(uucore::crate_version!())
526526
.about(translate!("cp-about"))
527-
.help_template(uucore::localized_help_template("cp"))
527+
.help_template(uucore::localized_help_template(uucore::util_name()))
528528
.override_usage(format_usage(&translate!("cp-usage")))
529529
.after_help(format!(
530530
"{}\n\n{}",

src/uu/csplit/src/csplit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
647647
pub fn uu_app() -> Command {
648648
Command::new("csplit")
649649
.version(uucore::crate_version!())
650-
.help_template(uucore::localized_help_template("csplit"))
650+
.help_template(uucore::localized_help_template(uucore::util_name()))
651651
.about(translate!("csplit-about"))
652652
.override_usage(format_usage(&translate!("csplit-usage")))
653653
.args_override_self(true)

src/uu/cut/src/cut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
683683
pub fn uu_app() -> Command {
684684
Command::new("cut")
685685
.version(uucore::crate_version!())
686-
.help_template(uucore::localized_help_template("cut"))
686+
.help_template(uucore::localized_help_template(uucore::util_name()))
687687
.override_usage(format_usage(&translate!("cut-usage")))
688688
.about(translate!("cut-about"))
689689
.after_help(translate!("cut-after-help"))

src/uu/dd/src/dd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
15371537
pub fn uu_app() -> Command {
15381538
Command::new("dd")
15391539
.version(uucore::crate_version!())
1540-
.help_template(uucore::localized_help_template("dd"))
1540+
.help_template(uucore::localized_help_template(uucore::util_name()))
15411541
.about(translate!("dd-about"))
15421542
.override_usage(format_usage(&translate!("dd-usage")))
15431543
.after_help(translate!("dd-after-help"))

src/uu/df/src/df.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
500500
pub fn uu_app() -> Command {
501501
Command::new("df")
502502
.version(uucore::crate_version!())
503-
.help_template(uucore::localized_help_template("df"))
503+
.help_template(uucore::localized_help_template(uucore::util_name()))
504504
.about(translate!("df-about"))
505505
.override_usage(format_usage(&translate!("df-usage")))
506506
.after_help(translate!("df-after-help"))

src/uu/du/src/du.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ fn parse_depth(max_depth_str: Option<&str>, summarize: bool) -> UResult<Option<u
12891289
pub fn uu_app() -> Command {
12901290
Command::new("du")
12911291
.version(uucore::crate_version!())
1292-
.help_template(uucore::localized_help_template("du"))
1292+
.help_template(uucore::localized_help_template(uucore::util_name()))
12931293
.about(translate!("du-about"))
12941294
.after_help(translate!("du-after-help"))
12951295
.override_usage(format_usage(&translate!("du-usage")))

src/uu/factor/src/factor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
220220
pub fn uu_app() -> Command {
221221
Command::new("factor")
222222
.version(uucore::crate_version!())
223-
.help_template(uucore::localized_help_template("factor"))
223+
.help_template(uucore::localized_help_template(uucore::util_name()))
224224
.about(translate!("factor-about"))
225225
.override_usage(format_usage(&translate!("factor-usage")))
226226
.infer_long_args(true)

src/uu/fold/src/fold.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
8484
pub fn uu_app() -> Command {
8585
Command::new("fold")
8686
.version(uucore::crate_version!())
87-
.help_template(uucore::localized_help_template("fold"))
87+
.help_template(uucore::localized_help_template(uucore::util_name()))
8888
.override_usage(format_usage(&translate!("fold-usage")))
8989
.about(translate!("fold-about"))
9090
.infer_long_args(true)

src/uu/hostname/src/hostname.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
7777
pub fn uu_app() -> Command {
7878
Command::new("hostname")
7979
.version(uucore::crate_version!())
80-
.help_template(uucore::localized_help_template("hostname"))
80+
.help_template(uucore::localized_help_template(uucore::util_name()))
8181
.about(translate!("hostname-about"))
8282
.override_usage(format_usage(&translate!("hostname-usage")))
8383
.infer_long_args(true)

src/uu/join/src/join.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
865865
pub fn uu_app() -> Command {
866866
Command::new("join")
867867
.version(uucore::crate_version!())
868-
.help_template(uucore::localized_help_template("join"))
868+
.help_template(uucore::localized_help_template(uucore::util_name()))
869869
.about(translate!("join-about"))
870870
.override_usage(format_usage(&translate!("join-usage")))
871871
.infer_long_args(true)

0 commit comments

Comments
 (0)