summaryrefslogtreecommitdiff
path: root/pod/modpods/Getopt.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/modpods/Getopt.pod')
-rw-r--r--pod/modpods/Getopt.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/modpods/Getopt.pod b/pod/modpods/Getopt.pod
index 2f607257ba..9cda9ec03f 100644
--- a/pod/modpods/Getopt.pod
+++ b/pod/modpods/Getopt.pod
@@ -10,7 +10,8 @@ GetOptions - extended getopt processing
use Getopt::Std;
getopt('oDI'); # -o, -D & -I take arg. Sets opt_* as a side effect.
- getopts('oif:'); # likewise, but all of them
+ getopts('oif:'); # -o & -i are boolean flags, -f takes an argument
+ # Sets opt_* as a side effect.
use Getopt::Long;
$result = GetOptions (...option-descriptions...);