1*7c356e86SAndroid Build Coastguard Worker/* +++ GENERATED FILE +++ DO NOT EDIT +++ */ 2*7c356e86SAndroid Build Coastguard Worker/*- 3*7c356e86SAndroid Build Coastguard Worker * Copyright (c) 2013, 2014, 2015, 2017 4*7c356e86SAndroid Build Coastguard Worker * mirabilos <[email protected]> 5*7c356e86SAndroid Build Coastguard Worker * 6*7c356e86SAndroid Build Coastguard Worker * Provided that these terms and disclaimer and all copyright notices 7*7c356e86SAndroid Build Coastguard Worker * are retained or reproduced in an accompanying document, permission 8*7c356e86SAndroid Build Coastguard Worker * is granted to deal in this work without restriction, including un- 9*7c356e86SAndroid Build Coastguard Worker * limited rights to use, publicly perform, distribute, sell, modify, 10*7c356e86SAndroid Build Coastguard Worker * merge, give away, or sublicence. 11*7c356e86SAndroid Build Coastguard Worker * 12*7c356e86SAndroid Build Coastguard Worker * This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to 13*7c356e86SAndroid Build Coastguard Worker * the utmost extent permitted by applicable law, neither express nor 14*7c356e86SAndroid Build Coastguard Worker * implied; without malicious intent or gross negligence. In no event 15*7c356e86SAndroid Build Coastguard Worker * may a licensor, author or contributor be held liable for indirect, 16*7c356e86SAndroid Build Coastguard Worker * direct, other damage, loss, or other issues arising in any way out 17*7c356e86SAndroid Build Coastguard Worker * of dealing in the work, even if advised of the possibility of such 18*7c356e86SAndroid Build Coastguard Worker * damage or existence of a defect, except proven that it results out 19*7c356e86SAndroid Build Coastguard Worker * of said person's immediate fault when using the work as intended. 20*7c356e86SAndroid Build Coastguard Worker */ 21*7c356e86SAndroid Build Coastguard Worker 22*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_OPTCS 23*7c356e86SAndroid Build Coastguard Worker#if defined(SHFLAGS_DEFNS) 24*7c356e86SAndroid Build Coastguard Worker__RCSID("$MirOS: src/bin/mksh/sh_flags.opt,v 1.9 2020/05/16 22:38:25 tg Exp $"); 25*7c356e86SAndroid Build Coastguard Worker#elif defined(SHFLAGS_ENUMS) 26*7c356e86SAndroid Build Coastguard Worker#define FN(sname,cname,flags,ochar) cname, 27*7c356e86SAndroid Build Coastguard Worker#define F0(sname,cname,flags,ochar) cname = 0, 28*7c356e86SAndroid Build Coastguard Worker#elif defined(SHFLAGS_ITEMS) 29*7c356e86SAndroid Build Coastguard Worker#define FN(sname,cname,flags,ochar) ((const char *)(&shoptione_ ## cname)) + 2, 30*7c356e86SAndroid Build Coastguard Worker#endif 31*7c356e86SAndroid Build Coastguard Worker#ifndef F0 32*7c356e86SAndroid Build Coastguard Worker#define F0 FN 33*7c356e86SAndroid Build Coastguard Worker#endif 34*7c356e86SAndroid Build Coastguard WorkerF0("allexport", FEXPORT, OF_ANY, 'a') 35*7c356e86SAndroid Build Coastguard Worker#if HAVE_NICE 36*7c356e86SAndroid Build Coastguard WorkerFN("bgnice", FBGNICE, OF_ANY, 0) 37*7c356e86SAndroid Build Coastguard Worker#endif 38*7c356e86SAndroid Build Coastguard WorkerFN("braceexpand", FBRACEEXPAND, OF_ANY, 0) 39*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_NO_CMDLINE_EDITING 40*7c356e86SAndroid Build Coastguard WorkerFN("emacs", FEMACS, OF_ANY, 0) 41*7c356e86SAndroid Build Coastguard Worker#endif 42*7c356e86SAndroid Build Coastguard WorkerFN("errexit", FERREXIT, OF_ANY, 'e') 43*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_NO_CMDLINE_EDITING 44*7c356e86SAndroid Build Coastguard WorkerFN("gmacs", FGMACS, OF_ANY, 0) 45*7c356e86SAndroid Build Coastguard Worker#endif 46*7c356e86SAndroid Build Coastguard WorkerFN("ignoreeof", FIGNOREEOF, OF_ANY, 0) 47*7c356e86SAndroid Build Coastguard WorkerFN("inherit-xtrace", FXTRACEREC, OF_ANY, 0) 48*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 49*7c356e86SAndroid Build Coastguard WorkerFN("interactive", FTALKING, OF_CMDLINE, 'i') 50*7c356e86SAndroid Build Coastguard Worker#endif 51*7c356e86SAndroid Build Coastguard WorkerFN("keyword", FKEYWORD, OF_ANY, 'k') 52*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 53*7c356e86SAndroid Build Coastguard WorkerFN("login", FLOGIN, OF_CMDLINE, 'l') 54*7c356e86SAndroid Build Coastguard Worker#endif 55*7c356e86SAndroid Build Coastguard WorkerFN("markdirs", FMARKDIRS, OF_ANY, 'X') 56*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_UNEMPLOYED 57*7c356e86SAndroid Build Coastguard WorkerFN("monitor", FMONITOR, OF_ANY, 'm') 58*7c356e86SAndroid Build Coastguard Worker#endif 59*7c356e86SAndroid Build Coastguard WorkerFN("noclobber", FNOCLOBBER, OF_ANY, 'C') 60*7c356e86SAndroid Build Coastguard WorkerFN("noexec", FNOEXEC, OF_ANY, 'n') 61*7c356e86SAndroid Build Coastguard WorkerFN("noglob", FNOGLOB, OF_ANY, 'f') 62*7c356e86SAndroid Build Coastguard WorkerFN("nohup", FNOHUP, OF_ANY, 0) 63*7c356e86SAndroid Build Coastguard WorkerFN("nolog", FNOLOG, OF_ANY, 0) 64*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_UNEMPLOYED 65*7c356e86SAndroid Build Coastguard WorkerFN("notify", FNOTIFY, OF_ANY, 'b') 66*7c356e86SAndroid Build Coastguard Worker#endif 67*7c356e86SAndroid Build Coastguard WorkerFN("nounset", FNOUNSET, OF_ANY, 'u') 68*7c356e86SAndroid Build Coastguard WorkerFN("physical", FPHYSICAL, OF_ANY, 0) 69*7c356e86SAndroid Build Coastguard WorkerFN("pipefail", FPIPEFAIL, OF_ANY, 0) 70*7c356e86SAndroid Build Coastguard WorkerFN("posix", FPOSIX, OF_ANY, 0) 71*7c356e86SAndroid Build Coastguard WorkerFN("privileged", FPRIVILEGED, OF_ANY, 'p') 72*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 73*7c356e86SAndroid Build Coastguard WorkerFN("restricted", FRESTRICTED, OF_CMDLINE, 'r') 74*7c356e86SAndroid Build Coastguard Worker#endif 75*7c356e86SAndroid Build Coastguard WorkerFN("sh", FSH, OF_ANY, 0) 76*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 77*7c356e86SAndroid Build Coastguard WorkerFN("stdin", FSTDIN, OF_CMDLINE, 's') 78*7c356e86SAndroid Build Coastguard Worker#endif 79*7c356e86SAndroid Build Coastguard WorkerFN("trackall", FTRACKALL, OF_ANY, 'h') 80*7c356e86SAndroid Build Coastguard WorkerFN("utf8-mode", FUNNYCODE, OF_ANY, 'U') 81*7c356e86SAndroid Build Coastguard WorkerFN("verbose", FVERBOSE, OF_ANY, 'v') 82*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_NO_CMDLINE_EDITING 83*7c356e86SAndroid Build Coastguard WorkerFN("vi", FVI, OF_ANY, 0) 84*7c356e86SAndroid Build Coastguard Worker#endif 85*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_NO_CMDLINE_EDITING 86*7c356e86SAndroid Build Coastguard WorkerFN("vi-esccomplete", FVIESCCOMPLETE, OF_ANY, 0) 87*7c356e86SAndroid Build Coastguard Worker#endif 88*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_NO_CMDLINE_EDITING 89*7c356e86SAndroid Build Coastguard WorkerFN("vi-tabcomplete", FVITABCOMPLETE, OF_ANY, 0) 90*7c356e86SAndroid Build Coastguard Worker#endif 91*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_NO_CMDLINE_EDITING 92*7c356e86SAndroid Build Coastguard WorkerFN("viraw", FVIRAW, OF_ANY, 0) 93*7c356e86SAndroid Build Coastguard Worker#endif 94*7c356e86SAndroid Build Coastguard WorkerFN("xtrace", FXTRACE, OF_ANY, 'x') 95*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 96*7c356e86SAndroid Build Coastguard WorkerFN("", FCOMMAND, OF_CMDLINE, 'c') 97*7c356e86SAndroid Build Coastguard Worker#endif 98*7c356e86SAndroid Build Coastguard WorkerFN("", FTALKING_I, OF_INTERNAL, 0) 99*7c356e86SAndroid Build Coastguard Worker#undef F0 100*7c356e86SAndroid Build Coastguard Worker#undef FN 101*7c356e86SAndroid Build Coastguard Worker#undef SHFLAGS_DEFNS 102*7c356e86SAndroid Build Coastguard Worker#undef SHFLAGS_ENUMS 103*7c356e86SAndroid Build Coastguard Worker#undef SHFLAGS_ITEMS 104*7c356e86SAndroid Build Coastguard Worker#else 105*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_SET 106*7c356e86SAndroid Build Coastguard Worker"A:" 107*7c356e86SAndroid Build Coastguard Worker#endif 108*7c356e86SAndroid Build Coastguard Worker"a" 109*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_UNEMPLOYED 110*7c356e86SAndroid Build Coastguard Worker"b" 111*7c356e86SAndroid Build Coastguard Worker#endif 112*7c356e86SAndroid Build Coastguard Worker"C" 113*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 114*7c356e86SAndroid Build Coastguard Worker"c" 115*7c356e86SAndroid Build Coastguard Worker#endif 116*7c356e86SAndroid Build Coastguard Worker"e" 117*7c356e86SAndroid Build Coastguard Worker"f" 118*7c356e86SAndroid Build Coastguard Worker"h" 119*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 120*7c356e86SAndroid Build Coastguard Worker"i" 121*7c356e86SAndroid Build Coastguard Worker#endif 122*7c356e86SAndroid Build Coastguard Worker"k" 123*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 124*7c356e86SAndroid Build Coastguard Worker"l" 125*7c356e86SAndroid Build Coastguard Worker#endif 126*7c356e86SAndroid Build Coastguard Worker#ifndef MKSH_UNEMPLOYED 127*7c356e86SAndroid Build Coastguard Worker"m" 128*7c356e86SAndroid Build Coastguard Worker#endif 129*7c356e86SAndroid Build Coastguard Worker"n" 130*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 131*7c356e86SAndroid Build Coastguard Worker"o:" 132*7c356e86SAndroid Build Coastguard Worker#endif 133*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_SET 134*7c356e86SAndroid Build Coastguard Worker"o;" 135*7c356e86SAndroid Build Coastguard Worker#endif 136*7c356e86SAndroid Build Coastguard Worker"p" 137*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 138*7c356e86SAndroid Build Coastguard Worker"r" 139*7c356e86SAndroid Build Coastguard Worker#endif 140*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 141*7c356e86SAndroid Build Coastguard Worker"s" 142*7c356e86SAndroid Build Coastguard Worker#endif 143*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_SET 144*7c356e86SAndroid Build Coastguard Worker"s" 145*7c356e86SAndroid Build Coastguard Worker#endif 146*7c356e86SAndroid Build Coastguard Worker#ifndef SHFLAGS_NOT_CMD 147*7c356e86SAndroid Build Coastguard Worker"T:" 148*7c356e86SAndroid Build Coastguard Worker#endif 149*7c356e86SAndroid Build Coastguard Worker"U" 150*7c356e86SAndroid Build Coastguard Worker"u" 151*7c356e86SAndroid Build Coastguard Worker"v" 152*7c356e86SAndroid Build Coastguard Worker"X" 153*7c356e86SAndroid Build Coastguard Worker"x" 154*7c356e86SAndroid Build Coastguard Worker#undef SHFLAGS_OPTCS 155*7c356e86SAndroid Build Coastguard Worker#endif 156