Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

tar and ps support writing parameters without leading dashes #43

Open

Description

Describe the bug
With tar (and ps and other tools as well), e.g.tar -xp is synonymous to tar xp. Right now, for both tar and ps, kmdr currently only recognizes the tar -xp form of the command properly. Otherwise, it will tell you things like xp -- an operand.

To Reproduce

  1. kmdr explain
  2. tar xp

Expected behavior
Treat dash-prefixed parameters the same as unprefixed ones for these kinds of commands.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: no
  • Version: no

Activity

  1. self-assigned this
    on Dec 22, 2019
  2. ediardo commented on Dec 22, 2019

    @ediardo
    Member

    Hi @sknorr , thanks for the issue 👍

    The parser would need to handle a special case for programs that accept BSD-like options. I'll focus on ps and tar, are there more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions