Skip to content

Commit

Permalink
Verbose set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
nitro-marky committed Aug 31, 2023
1 parent b1ccaa7 commit a3abaf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ program
.option('--raw', 'print processes with hex values and extra keys such as "createdAtHash"')
.option('--active', 'returns only active process flows')
.option('--disabled', 'returns only disabled process flows')
.option('-v', '--verbose', 'Returns all information about the transation')
.option('-v', '--verbose', 'Returns all information about the transation, default - false')
.action(async (options: Process.CLIOptions) => {
if (options.print)
log(`
Expand Down Expand Up @@ -123,7 +123,7 @@ program
.option('--dryRun', 'to validate process and response locally before persisting on the chain, default - false')
.option('-h, --host <host>', 'substrate blockchain host address or FQDM, default - "localhost"', 'localhost')
.option('-p, --port <port>', 'specify host port number if it is not a default, default - 9944', '9944')
.option('-v', '--verbose', 'Returns all information, default false')
.option('-v', '--verbose', 'Returns all information, default - false')
.requiredOption('-u, --user <user>', 'specify substrate blockchain user URI')
.argument('<id>', 'a valid process id that you would like to disable')
.argument('<version>', 'a version number of a process')
Expand Down
2 changes: 1 addition & 1 deletion src/lib/process/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const createProcess = async (
if(!verbose)
return {
process: null,
message: 'Dry run: transaction has not been created',
message: 'Verbose version - Dry run: transaction has not been created',
name,
version: expectedVersion,
program
Expand Down

0 comments on commit a3abaf1

Please sign in to comment.