Skip to content

Commit

Permalink
remove deno run from help output
Browse files Browse the repository at this point in the history
  • Loading branch information
leolabs committed Mar 11, 2021
1 parent eca361e commit 128ec15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ deno run https://deno.land/x/gpto/mod.ts
## Available Options:

```
Usage: deno run [options] <directory>
Usage: [options] <directory>
Features:
-p, --people Adds tagged people from GPhotos as keywords [boolean]
Expand All @@ -35,6 +35,6 @@ Options:
-h, --help Show help [boolean]
Examples:
deno run . Run the script in the current folder
deno run --dry-run <folder> Run the script without modifying any files
. Run the script in the current folder
--dry-run <folder> Run the script without modifying any files
```
6 changes: 3 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ensurePermissions } from "./util/permissions.ts";
import { getRelatedFilePath } from "./util/paths.ts";

const args = yargs(Deno.args)
.usage("Usage: $0 [options] <directory>")
.usage("Usage: [options] <directory>")
.strict()
.alias("h", "help")
.version(false)
Expand Down Expand Up @@ -46,8 +46,8 @@ const args = yargs(Deno.args)
default: 15,
})
.example([
["$0 .", "Run the script in the current folder"],
["$0 --dry-run <folder>", "Run the script without modifying any files"],
[".", "Run the script in the current folder"],
["--dry-run <folder>", "Run the script without modifying any files"],
]).argv;

const rootDir: string | undefined = args._[0];
Expand Down

0 comments on commit 128ec15

Please sign in to comment.