Steve Yegge
e5f1e4b971
Fix --json flag shadowing issue causing test failures
...
Fixed TestHashIDs_IdenticalContentDedup test failure by removing duplicate
--json flag definitions that were shadowing the global persistent flag.
Root cause: Commands had both a persistent --json flag (main.go) and local
--json flags (in individual command files). The local flags shadowed the
persistent flag, preventing jsonOutput variable from being set correctly.
Changes:
- Removed 31 duplicate --json flag definitions from 15 command files
- All commands now use the single persistent --json flag from main.go
- Commands now correctly output JSON when --json flag is specified
Test results:
- TestHashIDs_IdenticalContentDedup: Now passes (was failing)
- TestHashIDs_MultiCloneConverge: Passes without JSON parsing warnings
- All other tests: Pass with no regressions
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-02 18:52:44 -08:00
..
2025-11-02 14:31:22 -08:00
2025-10-31 18:40:32 -07:00
2025-11-02 15:39:00 -08:00
2025-11-02 10:01:38 -08:00
2025-11-02 10:38:24 -08:00
2025-10-27 20:08:50 -07:00
2025-10-26 22:31:24 -07:00
2025-10-30 15:41:46 -07:00
2025-11-01 11:11:20 -07:00
2025-10-31 22:39:53 -07:00
2025-10-26 21:55:01 -07:00
2025-11-02 15:37:57 -08:00
2025-10-31 21:51:54 -07:00
2025-11-02 18:52:44 -08:00
2025-11-02 08:55:34 -08:00
2025-11-02 08:09:58 -08:00
2025-11-01 19:20:01 -07:00
2025-10-29 12:32:27 -07:00
2025-10-29 22:55:13 -07:00
2025-11-01 23:56:03 -07:00
2025-11-01 19:50:34 -07:00
2025-11-02 08:30:31 -08:00
2025-10-26 22:48:19 -07:00
2025-11-01 19:20:01 -07:00
2025-11-01 19:20:01 -07:00
2025-11-02 18:30:38 -08:00
2025-11-02 16:40:21 -08:00
2025-11-01 21:27:09 -07:00
2025-11-02 16:40:21 -08:00
2025-10-29 15:30:47 -07:00
2025-10-29 15:53:41 -07:00
2025-10-29 11:47:40 -07:00
2025-11-01 23:56:03 -07:00
2025-11-02 08:09:58 -08:00
2025-10-31 18:40:32 -07:00
2025-11-02 18:52:44 -08:00
2025-11-02 18:52:44 -08:00
2025-10-31 15:11:29 -07:00
2025-11-02 18:52:44 -08:00
2025-11-02 08:09:58 -08:00
2025-10-26 22:31:24 -07:00
2025-11-02 17:09:39 -08:00
2025-11-02 17:14:22 -08:00
2025-11-02 18:52:44 -08:00
2025-11-01 11:11:20 -07:00
2025-11-02 18:52:44 -08:00
2025-10-27 20:00:49 -07:00
2025-11-01 20:29:13 -07:00
2025-10-26 23:06:03 -07:00
2025-11-02 08:09:58 -08:00
2025-11-02 08:55:34 -08:00
2025-10-27 22:44:40 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:00:49 -07:00
2025-10-30 22:24:42 -07:00
2025-10-31 01:07:42 -07:00
2025-11-02 16:45:51 -08:00
2025-11-02 14:03:14 -08:00
2025-10-27 20:08:50 -07:00
2025-11-02 15:37:57 -08:00
2025-11-01 22:01:41 -07:00
2025-11-01 22:01:41 -07:00
2025-11-01 20:29:13 -07:00
2025-10-26 22:31:24 -07:00
2025-11-02 18:52:44 -08:00
2025-10-31 21:27:33 -07:00
2025-11-02 18:52:44 -08:00
2025-10-31 17:17:33 -07:00
2025-11-02 18:36:30 -08:00
2025-11-02 08:30:31 -08:00
2025-10-27 20:00:49 -07:00
2025-11-02 18:52:44 -08:00
2025-10-30 16:28:13 -07:00
2025-11-02 08:09:58 -08:00
2025-11-02 14:31:22 -08:00
2025-11-02 14:31:24 -08:00
2025-11-01 19:57:37 -07:00
2025-11-02 18:36:30 -08:00
2025-11-02 17:10:41 -08:00
2025-11-02 17:10:41 -08:00
2025-10-27 20:08:50 -07:00
2025-11-02 18:52:44 -08:00
2025-11-02 11:02:58 -08:00
2025-10-27 22:59:19 -07:00
2025-10-27 18:31:01 +00:00
2025-10-26 22:31:24 -07:00
2025-11-02 18:52:44 -08:00
2025-10-29 12:56:51 -07:00
2025-11-01 23:56:03 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 22:39:53 -07:00
2025-11-02 09:22:28 -08:00
2025-11-02 14:31:22 -08:00
2025-11-02 18:52:44 -08:00
2025-10-27 20:38:13 -07:00
2025-10-31 23:03:56 -07:00
2025-11-02 18:52:44 -08:00
2025-11-02 17:57:59 -08:00
2025-11-02 18:52:44 -08:00
2025-11-02 17:09:39 -08:00
2025-11-02 17:09:39 -08:00
2025-10-27 20:08:50 -07:00
2025-10-31 19:44:43 -07:00
2025-11-02 18:52:44 -08:00
2025-11-01 23:49:55 -07:00