Skip to content

Commit

Permalink
Enable session mode be default
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <zyl.skysniper@gmail.com>
  • Loading branch information
yilunzhang committed Nov 13, 2019
1 parent 43bf334 commit a40b74e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ commands and receive results in any language supporting NKN client SDK.

## Get Started

The fastest way to get started is to run `nshd` with `--session` argument and
use one of the following client:
The fastest way to get started is to run `nshd` with one of the following
client:

* [http://nsh.nkn.org](http://nsh.nkn.org) (source: [nkn-shell-client-xterm](https://github.com/nknorg/nkn-shell-client-xterm))

Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let argv = _yargs.default.command('$0', 'start nshd').command('addr', 'show addr
alias: 'sess',
describe: 'nshd will save prev cmd',
type: 'boolean',
default: false
default: true
}).option('identifier', {
alias: 'id',
describe: 'set identifier',
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ let argv = yargs
alias: 'sess',
describe: 'nshd will save prev cmd',
type: 'boolean',
default: false,
default: true,
})
.option('identifier', {
alias: 'id',
Expand Down

0 comments on commit a40b74e

Please sign in to comment.