Skip to content

Commit 0a8000b

Browse files
authored
Fix description of width and height being swapped in help output (#20 from SuperTux88/fix-height-width)
2 parents 4b6bacd + 980d501 commit 0a8000b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Usage: mixxc [-w <width>] [-h <height>] [-s <spacing>] [-a <anchor...>] [-A] [-C
3636
Minimalistic volume mixer.
3737
3838
Options:
39-
-w, --width window height
40-
-h, --height window width
39+
-w, --width window width
40+
-h, --height window height
4141
-s, --spacing spacing between clients
4242
-a, --anchor screen anchor point: (t)op, (b)ottom, (l)eft, (r)ight
4343
-A, --active show only active sinks

src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ static APP_BINARY: &str = "mixxc";
1010
#[derive(argh::FromArgs)]
1111
///Minimalistic volume mixer.
1212
struct Args {
13-
/// window height
13+
/// window width
1414
#[argh(option, short = 'w')]
1515
width: Option<u32>,
1616

17-
/// window width
17+
/// window height
1818
#[argh(option, short = 'h')]
1919
height: Option<u32>,
2020

0 commit comments

Comments
 (0)