forked from trevorld/r-getopt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
trevor
committed
May 4, 2013
0 parents
commit c12e4c8
Showing
9 changed files
with
823 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Package: getopt | ||
Type: Package | ||
Title: C-like getopt behavior. | ||
Version: 1.19.1 | ||
Author: Allen Day | ||
Contributions from Trevor L Davis | ||
Maintainer: Trevor L Davis <[email protected]> | ||
URL: https://github.com/trevorld/getopt | ||
BugReports: https://github.com/trevorld/getopt/issues | ||
Description: Package designed to be used with Rscript to write | ||
``#!'' shebang scripts that accept short and long flags/options. | ||
Many users will prefer using instead the package optparse | ||
which adds extra features (automatically generated help option and usage, | ||
support for default values, basic positional argument support). | ||
License: GPL (>= 2) | ||
Suggests: | ||
testthat | ||
Collate: | ||
'getopt.R' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export(get_Rscript_filename) | ||
export(getopt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
getopt 1.19.1 | ||
============= | ||
* If a passed in option matches multiple options in the getopt specification but matches one exactly | ||
then `getopt` now uses that value instead of throwing a "long flag is ambiguous" error. | ||
|
||
getopt 1.19.0 | ||
============= | ||
* Exports new function `get_Rscript_filename` that returns name of calling script, | ||
`getopt` now uses this function value as default for `command` argument | ||
* Documentation improved and now highlights differences | ||
between `getopt` and `optparse` packages for new undecided users |
Oops, something went wrong.