getopt

From MaRDI portal
Software:101528



CRANgetoptMaRDI QIDQ101528

C-Like 'getopt' Behavior

Trevor L Davis, Allen Day

Last update: 1 October 2023

Software version identifier: 1.20.3, 1.1, 1.11, 1.12, 1.14, 1.15, 1.16, 1.17, 1.19.0, 1.19.1, 1.20.0, 1.20.1, 1.20.2, 1.20.4


Copyright license: GNU General Public License, version 3.0, GNU General Public License, version 2.0

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 packages optparse or argparse which add extra features like automatically generated help option and usage, support for default values, positional argument support, etc.