Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
29f94ffc
Commit
29f94ffc
authored
May 18, 2016
by
Richer Maximilien
Browse files
[cli] Shorten filepath input prompt
parent
6e5356ea
Pipeline
#1768
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dfssc/cmd/sign.go
View file @
29f94ffc
...
...
@@ -27,7 +27,7 @@ var signCmd = &cobra.Command{
}
var
contractPath
string
readStringParam
(
"Local contract path
(empty means no verification)
"
,
""
,
&
contractPath
)
readStringParam
(
"Local contract path
[skip]
"
,
""
,
&
contractPath
)
if
!
checkContractHash
(
contractPath
,
contract
.
File
.
Hash
)
{
fmt
.
Fprintln
(
os
.
Stderr
,
"Invalid contract file! Aborting."
)
os
.
Exit
(
1
)
...
...
Write
Preview
Supports
Markdown
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