editor: handle --keep-above passed through to editor_command_line
Handling of nm-connection-editor command line arguments was changed in f3782da2. Since that commit, most args are handled by `editor_command_line`, but one (`--keep-above`) is handled by `main`. Unfortunately, if `--keep-above` appears with other arguments, `main` does not strip it from argv and parsing in `editor_command_line` fails with "Failed to parse options". To handle this, let's just have `editor_command_line` recognize but ignore `--keep-above` if it encounters it. #1Signed-off-by:Adam Williamson <awilliam@redhat.com>
Showing