Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(; optind < argc; ++optind)
- {
- const char *argv_copy = strdup(argv[optind]);
- if (argv_copy[0] == '+' && argv_copy[1] == 'O')
- {
- /* A deactivation parameter have been just found ! */
- ++optind;
- if (handle_shopt_options(shell_options,
- argv[optind],
- DISABLE) == EXIT_FAILURE)
- {
- usage(argv[optind]);
- free_shell_options(shell_options);
- shell_options = NULL;
- }
- }
- }
Add Comment
Please, Sign In to add comment