mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-21 03:08:10 +03:00
Add a couple of sub-commands to the no-query list
This commit is contained in:
parent
3a20e91b69
commit
0361c81da2
@ -84,12 +84,15 @@ _hledger_completion_function() {
|
||||
|
||||
# Subcommand specific
|
||||
case $subcommand in
|
||||
files|test) return 0 ;;
|
||||
help)
|
||||
compopt -o nosort +o filenames
|
||||
_hledger_compreply "$(compgen -W "$(hledger help | tail -n 1)" -- "$cur")"
|
||||
return 0
|
||||
;;
|
||||
# These do not expect or support any query arguments
|
||||
commodities|check-dupes|files|import|print-unique|test)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# Offer query filters and accounts for the rest
|
||||
|
@ -84,12 +84,15 @@ _hledger_completion_function() {
|
||||
|
||||
# Subcommand specific
|
||||
case $subcommand in
|
||||
files|test) return 0 ;;
|
||||
help)
|
||||
compopt -o nosort +o filenames
|
||||
_hledger_compreply "$(compgen -W "$(hledger help | tail -n 1)" -- "$cur")"
|
||||
return 0
|
||||
;;
|
||||
# These do not expect or support any query arguments
|
||||
commodities|check-dupes|files|import|print-unique|test)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# Offer query filters and accounts for the rest
|
||||
|
Loading…
Reference in New Issue
Block a user