diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/README.md | 6 | ||||
| -rwxr-xr-x | cli/ugi | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cli/README.md b/cli/README.md index 478c178..2b0c189 100644 --- a/cli/README.md +++ b/cli/README.md @@ -5,8 +5,8 @@ Command-line tool for encoding, decoding, and converting UGI (Unified Geek Ident ## Dependencies - **bash** 4.0+ -- **jq** — [jqlang.github.io/jq](https://jqlang.github.io/jq/) -- **ugi_registry_v0.json** — from [ugi-spec](https://git.sr.ht/~gumxcc/ugi-spec) +- **jq**: [jqlang.github.io/jq](https://jqlang.github.io/jq/) +- **ugi_registry_v0.json**: from [ugi-spec](https://git.sr.ht/~gumxcc/ugi-spec) ## Setup @@ -115,4 +115,4 @@ The test runner validates decode output (version, handle, field labels) and conv ## License -MIT — see [LICENSE](./LICENSE). +MIT. see [LICENSE](./LICENSE). @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# ugi — encode, decode, and convert UGI strings +# ugi: encode, decode, and convert UGI strings set -euo pipefail VERSION="0.1.0" @@ -473,7 +473,7 @@ list_fields() { # Reserved codes jq -r '.format.reserved_codes[]' "$REGISTRY" 2>/dev/null | sort | while read -r code; do - printf "%-6s %-25s %-15s %s\n" "$code" "(reserved)" "—" "—" + printf "%-6s %-25s %-15s %s\n" "$code" "(reserved)" "-" "-" done } @@ -597,7 +597,7 @@ encode_interactive() { usage() { cat <<'EOF' -ugi — UGI (Unified Geek Identifier) CLI tool +ugi: UGI (Unified Geek Identifier) CLI tool Usage: ugi decode <ugi-string> Decode a UGI string (URI or block) |
