Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
timothe
duniter
Commits
2a256271
Commit
2a256271
authored
May 17, 2020
by
Vincent Texier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] cli: remove obsolete "reset tx" in help and completion
parent
36490ff7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/modules/reset.ts
app/modules/reset.ts
+1
-1
release/extra/completion/duniter_completion.bash
release/extra/completion/duniter_completion.bash
+3
-3
No files found.
app/modules/reset.ts
View file @
2a256271
...
...
@@ -23,7 +23,7 @@ module.exports = {
duniter
:
{
cli
:
[
{
name
:
"
reset [config|data|peers|
tx|
stats|all]
"
,
name
:
"
reset [config|data|peers|stats|all]
"
,
desc
:
"
Reset configuration, data, peers, transactions or everything in the database
"
,
preventIfRunning
:
true
,
...
...
release/extra/completion/duniter_completion.bash
View file @
2a256271
...
...
@@ -140,13 +140,13 @@ direct_webstart \
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_REACHING_CLEAR_EP_ARGS
=
"clear tor none"
_duniter_completion
()
_duniter_completion
()
{
local
cur prev base
COMPREPLY
=()
...
...
@@ -191,7 +191,7 @@ _duniter_completion()
return
fi
COMPREPLY
=(
$(
compgen
-W
"
${
DUNITER_ARGUMENTS
}
"
--
${
cur
}
)
)
COMPREPLY
=(
$(
compgen
-W
"
${
DUNITER_ARGUMENTS
}
"
--
${
cur
}
)
)
return
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment