Commit 29f94ffc authored by Richer Maximilien's avatar Richer Maximilien

[cli] Shorten filepath input prompt

parent 6e5356ea
Pipeline #1768 passed with stage
...@@ -27,7 +27,7 @@ var signCmd = &cobra.Command{ ...@@ -27,7 +27,7 @@ var signCmd = &cobra.Command{
} }
var contractPath string var contractPath string
readStringParam("Local contract path (empty means no verification)", "", &contractPath) readStringParam("Local contract path [skip]", "", &contractPath)
if !checkContractHash(contractPath, contract.File.Hash) { if !checkContractHash(contractPath, contract.File.Hash) {
fmt.Fprintln(os.Stderr, "Invalid contract file! Aborting.") fmt.Fprintln(os.Stderr, "Invalid contract file! Aborting.")
os.Exit(1) os.Exit(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment