{
int c;
- while ((c = getopt(argc, argv, ":p")) != -1) {
+ while ((c = getopt(argc, argv, ":p?")) != -1) {
switch (c) {
case 'p':
chkOnly = 1;
int c;
CmdName = argv[0];
- while ((c = getopt(argc, argv, ":sdv")) != EOF) {
+ while ((c = getopt(argc, argv, ":sdv?")) != EOF) {
switch (c) {
case 's':
Silent = 1;
aginit();
CmdName = argv[0];
- while ((c = getopt(argc, argv, ":")) != -1) {
+ while ((c = getopt(argc, argv, ":?")) != -1) {
switch (c) {
case '?':
if (optopt == '?')
cmd = argv[0];
- while ((c = getopt(argc, argv, ":fl:c:o:")) != -1) {
+ while ((c = getopt(argc, argv, ":fl:c:o:?")) != -1) {
switch (c) {
case 'f':
Do_fans = 1;