Skip to content

Commit

Permalink
Fix #204: Fix command and example errors in the docs(#212)
Browse files Browse the repository at this point in the history
* Update outdated commands with newer ones

* Update settoken to set_token
  • Loading branch information
drepram authored and RishabhJain2018 committed Dec 22, 2019
1 parent 8d642d0 commit 04cf301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h4 class="code-container-style"><b>Display all upcoming challenges</b></h4>
<div class="command code-margin">
<div class="label">Run this command</div>
<div class="text codebg">
<span id="upComingChallenge">evalai challenges upcoming</span>
<span id="upComingChallenge">evalai challenges future</span>
<a class="copy-btn" onclick="CopyToClipboard('upComingChallenge')" data-toggle="tooltip" data-placement="top" title="copy to clipboard"><i class="fas fa-copy"></i>
</a>
</div>
Expand Down Expand Up @@ -248,8 +248,8 @@ <h4 class="code-container-style"><b>Participate in a challenge with ID 1 and tea
<div class="command code-margin">
<div class="label">Run this command</div>
<div class="text codebg">
<span id="participatInChallenge">evalai challenge 1 participant 2</span>
<a class="copy-btn" onclick="CopyToClipboard('participatInChallenge')" data-toggle="tooltip" data-placement="top" title="copy to clipboard"><i class="fas fa-copy"></i>
<span id="participateInChallenge">evalai challenge 1 participate 2</span>
<a class="copy-btn" onclick="CopyToClipboard('participateInChallenge')" data-toggle="tooltip" data-placement="top" title="copy to clipboard"><i class="fas fa-copy"></i>
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion evalai/add_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def set_token(auth_token):
Configure EvalAI Token.
"""
"""
Invoked by `evalai settoken <your_evalai_auth_token>`.
Invoked by `evalai set_token <your_evalai_auth_token>`.
"""
if validators.length(auth_token, min=LEN_OF_TOKEN, max=LEN_OF_TOKEN):
if not os.path.exists(AUTH_TOKEN_DIR):
Expand Down

0 comments on commit 04cf301

Please sign in to comment.