mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
restore reg & bal aliases, even if not advertised
This commit is contained in:
parent
3bc3e533c8
commit
92dc86ebae
@ -292,7 +292,7 @@ addmode = (defCommandMode ["add"]) {
|
||||
}
|
||||
}
|
||||
|
||||
balancemode = (defCommandMode $ ["balance"] ++ aliases) {
|
||||
balancemode = (defCommandMode $ ["balance"] ++ aliases ++ ["bal"]) { -- also accept but don't show the common bal alias
|
||||
modeHelp = "show accounts and balances" `withAliases` aliases
|
||||
,modeGroupFlags = Group {
|
||||
groupUnnamed = [
|
||||
@ -320,7 +320,7 @@ printmode = (defCommandMode $ ["print"] ++ aliases) {
|
||||
}
|
||||
where aliases = ["p"]
|
||||
|
||||
registermode = (defCommandMode $ ["register"] ++ aliases) {
|
||||
registermode = (defCommandMode $ ["register"] ++ aliases ++ ["reg"]) {
|
||||
modeHelp = "show postings and running total" `withAliases` aliases
|
||||
,modeGroupFlags = Group {
|
||||
groupUnnamed = [
|
||||
|
Loading…
Reference in New Issue
Block a user