From f0b79f27b7f17e3862285e01b71aad30cb25cd89 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Sat, 20 Jun 2026 00:07:58 +0300 Subject: fix: bunch of vibed edits to fix vibed edits --- cli/README.md | 6 +++--- cli/ugi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cli') 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). diff --git a/cli/ugi b/cli/ugi index 16fca01..9b5d4e0 100755 --- a/cli/ugi +++ b/cli/ugi @@ -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 Decode a UGI string (URI or block) -- cgit v1.2.3