Skip to content

Commit 8b25ec7

Browse files
committed
Update
1 parent 39f0c59 commit 8b25ec7

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

completions/_rwc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ _rwc() {
3333
Note when without FILE or it is `-`, read standard input (stop inputting by `CTRL-D`)
3434
The file read from stdin will prefix with `Input/`, and the other will prefix with `./`:_files' \
3535
":: :_rwc_commands" \
36-
"*::: :->rwc" \
36+
"*::: :->rust-wc" \
3737
&& ret=0
3838
case $state in
39-
(rwc)
39+
(rust-wc)
4040
words=($line[2] "${words[@]}")
4141
(( CURRENT += 1 ))
4242
curcontext="${curcontext%:*:*}:rwc-command-$line[2]:"

completions/rwc.bash

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ _rwc() {
1212
",$1")
1313
cmd="rwc"
1414
;;
15-
rwc,all)
16-
cmd="rwc__all"
15+
rust__wc,all)
16+
cmd="rust__wc__all"
1717
;;
18-
rwc,help)
19-
cmd="rwc__help"
18+
rust__wc,help)
19+
cmd="rust__wc__help"
2020
;;
21-
rwc__help,all)
22-
cmd="rwc__help__all"
21+
rust__wc__help,all)
22+
cmd="rust__wc__help__all"
2323
;;
24-
rwc__help,help)
25-
cmd="rwc__help__help"
24+
rust__wc__help,help)
25+
cmd="rust__wc__help__help"
2626
;;
2727
*)
2828
;;

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use clap::Parser;
2-
use rwc::{cli::Cli, wc_result, Result};
2+
use rust_wc::{cli::Cli, wc_result, Result};
33

44
fn main() -> Result<()> {
55
let cli = Cli::parse();

0 commit comments

Comments
 (0)