Skip to content

Commit

Permalink
improved aviation-scraper -h with examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cristobal-io committed Jan 20, 2017
1 parent 53badca commit cf6bce9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aviation-scraper
Expand Up @@ -27,7 +27,11 @@ var options;
program
.version(version)
.description("Retrieve airlines destinations and airports data.\n" +
" Multiple options are not allowed, only '-b' and '-s' options can be combined with the rest.")
" Multiple options are not allowed, only '-b' and '-s' options can be combined with the rest.\n\n" +
" Example for saving individual files to airports:\n" +
" $ aviation-scraper -a -s true\n\n" +
" Example for saving file to an specific directory:\n" +
" $ ./aviation-scraper -a -b './my_new_directory'")
.option("-l, --list", "List of airports with the link to the wikipedia page. (Saved to a single file)")
.option("-d, --destinations", "Destinations of all the airlines listed on the wikipedia. (saved each airline with an individual JSON file)")
.option("-a, --airports", "Saves the important data for each airport (saved in a single JSON file and optional for each airport)")
Expand Down

0 comments on commit cf6bce9

Please sign in to comment.