From 22479b2eee1e68e32b622b4cdc2db51be08e9226 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Wed, 26 Aug 2026 01:51:56 -0700 Subject: [PATCH] Fix job-file tags and option synopsis in the xt manual. The TOML example used debug instead of debug_log and omitted squash_root. The OPTIONS line now matches the CLI flags in main.go. Co-authored-by: Cursor --- MANUAL.md | 11 ++++++----- README.md | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/MANUAL.md b/MANUAL.md index e0b877a..d7eea72 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -5,7 +5,7 @@ SYNOPSIS --- `xt [options] [path [path] [path] ...]` -`xt --job-file /tmp/job1 -j /tmp/job2`\ +`xt --job-file /tmp/job1 -j /tmp/job2` DESCRIPTION --- @@ -20,7 +20,7 @@ DESCRIPTION OPTIONS --- -`xt [-o ] [-d <#>] [-m <#>] [-e <.ext>] [-P ] [-p] [paths]` +`xt [-o ] [-S] [-d <#>] [-m <#>] [-e <.ext>] [-P ] [-j ] [-p] [-V] [-D] [-v] [-h] [paths]` -o _directory_, --output _directory_ Provide a file system _directory_ where content is written. @@ -47,7 +47,7 @@ OPTIONS -e _.ext_, --extension _.ext_ Only extract archives with these extensions. Include the leading dot. The `-e` option may be provided many times. - Use `-v` for supported extensions. <- Your input must match the + Use `-v` for supported extensions. Your input must match the supported extensions. Unknown extensions are still ignored. -j _file_, --job-file _file_ @@ -68,7 +68,7 @@ OPTIONS Enable debug output. -v, --version - Display version and exit. + Display version, print supported extensions, and exit. -h, --help Display usage and exit. @@ -89,8 +89,9 @@ Example TOML job file: min_depth = 1 file_mode = 644 dir_mode = 755 + squash_root = false verbose = false - debug = false + debug_log = false preserve_paths = false AUTHOR diff --git a/README.md b/README.md index bd6fcb7..4776f40 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ If you use **Alpine** or **Arch**, you can find a package for your OS on the [re Running the following script will install the GoLift package repo (using packagecloud.io). This only works on Debian/Ubuntu and RedHat/Fedora Linux. -This is the recommend installation method for all users. +This is the recommended installation method for all users. ```shell curl -s https://golift.io/repo.sh | sudo bash -s - xt