Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: require command for key and pin subcommands #3196

Merged
merged 1 commit into from
Jul 28, 2020

Conversation

achingbrain
Copy link
Member

Without specifying that we require a sub-sub command, these commands
exit with a non-zero code and no output when you just run the subcommand

E.g:

$ jsipfs key
$ echo $?
0

Now becomes

$ jsipfs key
....help text appears here
$ echo $?
1

Without specifying that we require a sub-sub command, these commands
exit with a non-zero code and no output when you just run the subcommand

E.g:

```console
$ jsipfs key
$
```

Now becomes

```console
$ jsipfs key
.... help text
$
```
@achingbrain achingbrain requested a review from vasco-santos July 27, 2020 16:21
@achingbrain achingbrain merged commit 5449044 into master Jul 28, 2020
@achingbrain achingbrain deleted the fix/require-command-for-key-and-pin branch July 28, 2020 11:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants