diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-04-24 08:43:29 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2021-04-24 16:43:24 -0400 |
commit | dc8a6fc3d48c16f82402d46cd83106cf94ed83fe (patch) | |
tree | cf7e9e2198604801c76a2fcb91579fdda1c13ed2 /src/cli.rs | |
parent | 2cc9b5d296f902704ab19eed308b3c145f9a89e6 (diff) |
Add relative-paths option
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -231,6 +231,11 @@ pub struct Opt { /// --file-renamed-label. pub navigate: bool, + #[structopt(long = "relative-paths")] + /// Output all file paths relative to the current directory so that they + /// resolve correctly when clicked on or used in shell commands. + pub relative_paths: bool, + #[structopt(long = "hyperlinks")] /// Render commit hashes, file names, and line numbers as hyperlinks, according to the /// hyperlink spec for terminal emulators: |