Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor wording changes #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title: Advanced Topic

# Aliases

The commands in leetcode-cli usually has builtin aliases as below:
The commands in leetcode-cli usually have builtin aliases as below:

|Command |Aliases |
|----------|-----------------------|
Expand All @@ -33,9 +33,9 @@ The commands in leetcode-cli usually has builtin aliases as below:

# Auto Login

Leetcode.com is restricting only one session alive in the same time, which means if you login same account otherwhere, the existing login session will be expired immediately. This will greatly harm your experience since you have to re-login again and again among different sessions.
Leetcode.com is restricting only one session alive at the same time, which means if you log in the same account elsewhere, the existing login session will be expired immediately. This will greatly harm your experience since you have to log in again and again among different sessions.

The good news is leetcode-cli will help a lot on this by trying re-login transparently and automatically without interrupting your current work whenever it detects your current session is expired. To enable this feature you could add following in your config then login again:
The good news is leetcode-cli will help a lot with this by trying re-authenticate transparently and automatically without interrupting your current work whenever it detects your current session is expired. To enable this feature you could add following in your config then log in again:

{
"autologin": {
Expand Down
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Display help message. It also shows examples of the commands.
leetcode test <filename> Test code [aliases: run]
leetcode user Manage account [aliases: account]
leetcode version Show version info [aliases: info, env]
leetcode completion generate bash completion script
leetcode completion Generate bash completion script

Options:
-h, --help Show help [boolean]
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Similar with above, while you can introduce your own changes as you wish.

### From docker

NOTE: This is just a tiny taste to let you feel that leetcode-cli is. Please use other ways above to install leetcode-cli if you like it.
NOTE: This is just a tiny taste to let you feel what leetcode-cli is. Please use other ways above to install leetcode-cli if you like it.

$ alias leetcode='docker run -it --rm skygragon/leetcode-cli'
$ leetcode version
Expand Down