Skip to content

Commit 5445659

Browse files
committed
reorder --true-color flag
1 parent 171c099 commit 5445659

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/onefetch/cli.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,6 @@ impl Cli {
154154
},
155155
),
156156
)
157-
.arg(
158-
Arg::with_name("ascii-colors")
159-
.short("c")
160-
.long("ascii-colors")
161-
.value_name("X")
162-
.multiple(true)
163-
.takes_value(true)
164-
.possible_values(color_values)
165-
.help("Colors (X X X...) to print the ascii art."),
166-
)
167157
.arg(
168158
Arg::with_name("true-color")
169159
.long("true-color")
@@ -177,6 +167,16 @@ impl Cli {
177167
"Specify when to use true color (*auto*, never, always). \n\
178168
If set to auto: true color will be enabled if supported by the terminal.")
179169
)
170+
.arg(
171+
Arg::with_name("ascii-colors")
172+
.short("c")
173+
.long("ascii-colors")
174+
.value_name("X")
175+
.multiple(true)
176+
.takes_value(true)
177+
.possible_values(color_values)
178+
.help("Colors (X X X...) to print the ascii art."),
179+
)
180180
.arg(
181181
Arg::with_name("text-colors")
182182
.short("t")

0 commit comments

Comments
 (0)