mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 16:29:54 +08:00
docs: Format path synopsis
This was written while we changed how our synopses are formatted, so we missed adding a "synopsis" marker to it. The tokenizer here is a bit cheesy, so we can't mark continuation lines with a "\", and we also can't mark the general options with a ":=". Tbh that's not a big deal. Fixes #9154
This commit is contained in:
parent
6581362e1e
commit
c753f22003
@ -6,13 +6,13 @@ path - manipulate and check paths
|
||||
Synopsis
|
||||
--------
|
||||
|
||||
::
|
||||
.. synopsis::
|
||||
|
||||
path basename GENERAL_OPTIONS [PATH ...]
|
||||
path dirname GENERAL_OPTIONS [PATH ...]
|
||||
path extension GENERAL_OPTIONS [PATH ...]
|
||||
path filter GENERAL_OPTIONS [-v | --invert]
|
||||
[-d] [-f] [-l] [-r] [-w] [-x] \
|
||||
[-d] [-f] [-l] [-r] [-w] [-x]
|
||||
[(-t | --type) TYPE] [(-p | --perm) PERMISSION] [PATH ...]
|
||||
path is GENERAL_OPTIONS [(-v | --invert)] [(-t | --type) TYPE]
|
||||
[-d] [-f] [-l] [-r] [-w] [-x]
|
||||
@ -24,7 +24,8 @@ Synopsis
|
||||
path sort GENERAL_OPTIONS [-r | --reverse]
|
||||
[-u | --unique] [--key=basename|dirname|path] [PATH ...]
|
||||
|
||||
GENERAL_OPTIONS := [-z | --null-in] [-Z | --null-out] [-q | --quiet]
|
||||
GENERAL_OPTIONS
|
||||
[-z | --null-in] [-Z | --null-out] [-q | --quiet]
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
Loading…
x
Reference in New Issue
Block a user