Skip to content

Commit

Permalink
fix(aura): hide language options from long help (--help)
Browse files Browse the repository at this point in the history
They are otherwise available in the man page.
  • Loading branch information
fosskers committed Sep 8, 2024
1 parent 15eca46 commit 677c750
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions rust/aura-pm/src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ pub struct Args {
long,
global = true,
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub english: bool,
Expand All @@ -88,6 +89,7 @@ pub struct Args {
global = true,
alias = "日本語",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub japanese: bool,
Expand All @@ -98,6 +100,7 @@ pub struct Args {
global = true,
alias = "deutsch",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub german: bool,
Expand All @@ -108,6 +111,7 @@ pub struct Args {
global = true,
alias = "polski",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub polish: bool,
Expand All @@ -118,6 +122,7 @@ pub struct Args {
global = true,
alias = "hrvatski",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub croatian: bool,
Expand All @@ -128,6 +133,7 @@ pub struct Args {
global = true,
alias = "svenska",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub swedish: bool,
Expand All @@ -138,6 +144,7 @@ pub struct Args {
global = true,
alias = "español",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub spanish: bool,
Expand All @@ -148,6 +155,7 @@ pub struct Args {
global = true,
alias = "português",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub portuguese: bool,
Expand All @@ -158,6 +166,7 @@ pub struct Args {
global = true,
alias = "français",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub french: bool,
Expand All @@ -168,6 +177,7 @@ pub struct Args {
global = true,
alias = "русский",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub russian: bool,
Expand All @@ -178,6 +188,7 @@ pub struct Args {
global = true,
alias = "italiano",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub italian: bool,
Expand All @@ -188,6 +199,7 @@ pub struct Args {
global = true,
alias = "cрпски",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub serbian: bool,
Expand All @@ -198,6 +210,7 @@ pub struct Args {
global = true,
alias = "norsk",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub norwegian: bool,
Expand All @@ -207,6 +220,7 @@ pub struct Args {
long,
global = true,
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub indonesian: bool,
Expand All @@ -217,6 +231,7 @@ pub struct Args {
global = true,
alias = "简体字",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub simplified_chinese: bool,
Expand All @@ -226,6 +241,7 @@ pub struct Args {
long,
global = true,
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub esperanto: bool,
Expand All @@ -236,6 +252,7 @@ pub struct Args {
global = true,
alias = "nederlands",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub dutch: bool,
Expand All @@ -245,6 +262,7 @@ pub struct Args {
long,
global = true,
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub turkish: bool,
Expand All @@ -254,6 +272,7 @@ pub struct Args {
long,
global = true,
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub arabic: bool,
Expand All @@ -264,6 +283,7 @@ pub struct Args {
global = true,
alias = "українська",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub ukrainian: bool,
Expand All @@ -274,6 +294,7 @@ pub struct Args {
global = true,
alias = "română",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub romanian: bool,
Expand All @@ -283,6 +304,7 @@ pub struct Args {
long,
global = true,
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub vietnamese: bool,
Expand All @@ -293,6 +315,7 @@ pub struct Args {
global = true,
alias = "český",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub czech: bool,
Expand All @@ -303,6 +326,7 @@ pub struct Args {
global = true,
alias = "한국어",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub korean: bool,
Expand All @@ -313,6 +337,7 @@ pub struct Args {
global = true,
alias = "हिंदी",
hide_short_help = true,
hide_long_help = true,
display_order = 10
)]
pub hindi: bool,
Expand Down

0 comments on commit 677c750

Please sign in to comment.