Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove handling of '-i' #449

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/parse_cli_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ typedef enum
MOST_RECENT_LIST,
WARRANTY,
_VERSION,
INTERACTIVE,
RECURSIVE,
FORCE,
EMPTY,
Expand All @@ -73,7 +72,6 @@ static struct cli_opt
{MOST_RECENT_LIST, "most-recent-list"},
{WARRANTY, "warranty"},
{_VERSION, "version"},
{INTERACTIVE, "interactive"},
{RECURSIVE, "recursive"},
{FORCE, "force"},
{EMPTY, "empty"},
Expand Down Expand Up @@ -259,7 +257,6 @@ parse_cli_options(const int argc, char *const argv[], rmw_options *options)
{cli_opt[MOST_RECENT_LIST].str, 0, NULL, 'm'},
{cli_opt[WARRANTY].str, 0, NULL, 'w'},
{cli_opt[_VERSION].str, 0, NULL, 'V'},
{cli_opt[INTERACTIVE].str, 0, NULL, 'i'},
{cli_opt[RECURSIVE].str, 0, NULL, 'r'},
{cli_opt[FORCE].str, 0, NULL, 'f'},
{cli_opt[EMPTY].str, 0, NULL, L_EMPTY},
Expand All @@ -269,7 +266,7 @@ parse_cli_options(const int argc, char *const argv[], rmw_options *options)

int c;
while ((c =
getopt_long(argc, argv, "hvc:g::oz:lnsumwVfirR", long_options,
getopt_long(argc, argv, "hvc:g::oz:lnsumwVfrR", long_options,
NULL)) != -1)
{
switch (c)
Expand Down Expand Up @@ -336,9 +333,6 @@ parse_cli_options(const int argc, char *const argv[], rmw_options *options)
case 'V':
version();
break;
case 'i':
printf(_("-i / --interactive: not implemented\n"));
break;
case 'r':
case 'R':
printf(_
Expand Down