Skip to content
Snippets Groups Projects
Commit 2a256271 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] cli: remove obsolete "reset tx" in help and completion

parent 36490ff7
No related branches found
No related tags found
1 merge request!1313[fix] cli: remove obsolete "reset tx" in help and completion
...@@ -23,7 +23,7 @@ module.exports = { ...@@ -23,7 +23,7 @@ module.exports = {
duniter: { duniter: {
cli: [ cli: [
{ {
name: "reset [config|data|peers|tx|stats|all]", name: "reset [config|data|peers|stats|all]",
desc: desc:
"Reset configuration, data, peers, transactions or everything in the database", "Reset configuration, data, peers, transactions or everything in the database",
preventIfRunning: true, preventIfRunning: true,
......
...@@ -140,13 +140,13 @@ direct_webstart \ ...@@ -140,13 +140,13 @@ direct_webstart \
DUNITER_WIZARD_ARGS="key network network-reconfigure currency pow parameters" DUNITER_WIZARD_ARGS="key network network-reconfigure currency pow parameters"
DUNITER_RESET_ARGS="config data peers tx stats all" DUNITER_RESET_ARGS="config data peers stats all"
DUNITER_WS2P_ARGS="list-prefered list-privileged list-nodes show-conf" DUNITER_WS2P_ARGS="list-prefered list-privileged list-nodes show-conf"
DUNITER_REACHING_CLEAR_EP_ARGS="clear tor none" DUNITER_REACHING_CLEAR_EP_ARGS="clear tor none"
_duniter_completion() _duniter_completion()
{ {
local cur prev base local cur prev base
COMPREPLY=() COMPREPLY=()
...@@ -191,7 +191,7 @@ _duniter_completion() ...@@ -191,7 +191,7 @@ _duniter_completion()
return return
fi fi
COMPREPLY=($(compgen -W "${DUNITER_ARGUMENTS}" -- ${cur})) COMPREPLY=($(compgen -W "${DUNITER_ARGUMENTS}" -- ${cur}))
return 0 return 0
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment