Skip to content

Commit 2a5e896

Browse files
committed
awk: Add gettext for clap
1 parent 162e0be commit 2a5e896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

awk/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ mod program;
2323
mod regex;
2424

2525
#[derive(Parser)]
26+
#[command(version, about = gettext("awk - pattern scanning and processing language"))]
2627
struct Args {
2728
#[arg(short = 'F', help = gettext("Define the input field separator"))]
2829
separator_string: Option<String>,

0 commit comments

Comments
 (0)