feat(xce-test-cli-ux): add process-level help/version discovery
argp already provided --help/-?/--version with exit-without-REPL behavior, but had no -h alias (its default short help flag is -? per GNU argp convention) despite Requirement 4.1 naming -h explicitly. Added a hidden -h option triggering the same help path, and extended the doc string to describe the in-session help command. Proven against the real compiled binary via subprocess tests, not just argp's own in-process behavior. 1289/1289 controller suite passing (+4). Task 1.6 of .kiro/specs/xce-test-cli-ux/tasks.md. Requirements: 4.1, 4.2, 4.3 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019jaMf9QEwpugH2W9KAuc7f
This commit is contained in:
parent
204f81d134
commit
b70228c558
5 changed files with 270 additions and 2 deletions
|
|
@ -74,6 +74,7 @@ extern void test_rcfile(void);
|
|||
extern void test_flagspec(void);
|
||||
extern void test_xcetest_interrupt(void);
|
||||
extern void test_interruptcall(void);
|
||||
extern void test_xcetest_process_entry(void);
|
||||
extern void test_drive_async_config(void);
|
||||
extern void test_slowlane(void);
|
||||
extern void test_commit_admission_pool(void);
|
||||
|
|
@ -257,6 +258,7 @@ int main(int argc, char* argv[])
|
|||
TEST(test_flagspec);
|
||||
TEST(test_xcetest_interrupt);
|
||||
TEST(test_interruptcall);
|
||||
TEST(test_xcetest_process_entry);
|
||||
TEST(test_drive_async_config);
|
||||
TEST(test_slowlane);
|
||||
TEST(test_commit_admission_pool);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue