Fossil SCM

Make "help" command smarter to reduce the need for "-a" option

Closed

c4677b052bd1065… · opened 11 years, 8 months ago

Type
Feature_Request
Priority
Low
Severity
Minor
Resolution
Not_A_Bug
Subsystem
Created
Aug. 6, 2014 1:25 a.m.

Two points.

  • The help command (short version) should list the commands obviously associated to the ones it list. Ex. fossil help list open but does not list close which is only listed by help -a. That's confusing.

  • Alternatively, the help command (short version) could be aware of the local state. Ex. in a directory which is not that of an opened repository, it could list open only, and list close (and not open any‑more) from the directory of an opened directory.

Comments (2)

nobody 11 years, 8 months ago

Two points.

  • The help command (short version) should list the commands obviously associated to the ones it list. Ex. fossil help list open but does not list close which is only listed by help -a. That's confusing.

  • Alternatively, the help command (short version) could be aware of the local state. Ex. in a directory which is not that of an opened repository, it could list open only, and list close (and not open any‑more) from the directory of an opened directory.

wyoung 7 years, 6 months ago

The second point sounds good, but doing that will probably not allow us to remove as many commands as you'd think due to the -R flag.

For example, a fossil conf sync skin command will fail if you're not in a checkout directory, but you can add -R /path/to/repo.fossil to tell it which repo's skin you want synchronized.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button