Skip to content

Doesn't work for non-unixy commands such as find #36

@xeruf

Description

@xeruf
manly find -iname '*.txt' -exec cp {} /home \;

This shows a LOT of text, apparently it assumes that flags with a single dash have to be shorthands, which doesn't hold true for some commands such as find.

I really like the idea of this since I often meander through manpages to find longhands for mentioned flags, but in practice it needs to be fleshed out.

Another issue is that it includes doubleflags for single mentions

manly strace -f

outputs

strace - trace system calls and signals
=======================================

      -f
       --follow-forks
                   Trace child processes as  they  are  created  by  currently
                   traced  processes  as a result of the fork(2), vfork(2) and
                   clone(2) system calls.  Note that -p PID-f will attach all
                   threads  of  process  PID if it is multi-threaded, not only
                   thread with thread_id = PID.

      -ff
       --follow-forks --output-separately
                   Combine the effects of  --follow-forks  and  --output-sepa‐
                   rately  options.   This  is  incompatible with -c, since no
                   per-process counts are kept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions