diff options
Diffstat (limited to 'completions/firefly.bash')
| -rw-r--r-- | completions/firefly.bash | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/completions/firefly.bash b/completions/firefly.bash index 34171f9..baca1db 100644 --- a/completions/firefly.bash +++ b/completions/firefly.bash @@ -16,7 +16,7 @@ _firefly() { } local global_opts="--human --url --token -h --help" - local groups="auth account category tag tx budget" + local groups="auth account category tag tx budget piggy" # Find the group and leaf among the words (skip the program name at 0). local group="" leaf="" i @@ -49,6 +49,8 @@ _firefly() { "budget limit-set") leaf_opts="--amount --currency --end --start";; "budget list") leaf_opts="--end --start";; "budget update") leaf_opts="--auto-budget-amount --auto-budget-period --auto-budget-type --currency --name";; + "piggy add") leaf_opts="--account";; + "piggy remove") leaf_opts="--account";; esac # Leaves per group. @@ -60,6 +62,7 @@ _firefly() { tag) leaves="list";; tx) leaves="add delete edit get list search";; budget) leaves="create delete disable enable limit-list limit-set list update";; + piggy) leaves="add list remove";; esac # Flag values: when the previous word is a flag with a fixed value set for |
