Open DanielTimLee opened 4 years ago
hello, may I resolve this issue? I want to amend misc/bash-completion.sh file and fix this feature.
Sure! I'm not working on this right now, so feel free to go ahead.
hello, may I resolve this issue? I want to amend misc/bash-completion.sh file and fix this feature.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/namhyung/uftrace/issues/873#issuecomment-837735531, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5JE2GUHGRQM3C3622M6UDTNCRD7ANCNFSM4IW62B6Q .
I think the Bash completion can help new users get a full picture of the various uftrace options. Well,
uftrace -h
could help though, but it's size is huge and hard to read.Furthermore, I'm not sure it's working correctly? I think it's stuck since 1cad398dc 2017-11-24.
What I thought was kind of like this. Auto-completion of commands will help to get know about required arguments, or etc.. Reference for bash-completion (bpftool).
https://github.com/torvalds/linux/blob/4d856f72c10ecb060868ed10ff1b1453943fc6c8/tools/bpf/bpftool/bash-completion/bpftool#L1-L809