Skip to content

Commit d6702b0

Browse files
committed
apps: fix shell completions
1 parent 55befea commit d6702b0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

apps/window-to-tray/src/cli.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,12 @@ pub fn main() -> Result<(), WttError> {
116116
if let Some(shell) = args.generate_completion {
117117
let stdout = stdout();
118118
let mut stdout = stdout.lock();
119-
clap_complete::generate(shell, &mut WindowToTray::command(), "wl-veil", &mut stdout);
119+
clap_complete::generate(
120+
shell,
121+
&mut WindowToTray::command(),
122+
"window-to-tray",
123+
&mut stdout,
124+
);
120125
return Ok(());
121126
}
122127
let theme = Theme {

apps/wl-format-filter/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ pub fn main() -> Result<(), HfError> {
292292
clap_complete::generate(
293293
shell,
294294
&mut WlFormatFilter::command(),
295-
"wl-veil",
295+
"wl-format-filter",
296296
&mut stdout,
297297
);
298298
return Ok(());

apps/wl-paper/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub fn main() -> Result<(), PaperError> {
6666
if let Some(shell) = args.generate_completion {
6767
let stdout = stdout();
6868
let mut stdout = stdout.lock();
69-
clap_complete::generate(shell, &mut WlPaper::command(), "wl-veil", &mut stdout);
69+
clap_complete::generate(shell, &mut WlPaper::command(), "wl-paper", &mut stdout);
7070
return Ok(());
7171
}
7272
let config = Config {

0 commit comments

Comments
 (0)