[PATCH] trim: Fix short command-line option -a for "apitrace trim"

Carl Worth cworth at cworth.org
Mon Jan 28 04:37:17 PST 2013


This was documented as being equivalent to --auto, but one piece of
the plumbing was not in place.
---
 cli/cli_trim.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli/cli_trim.cpp b/cli/cli_trim.cpp
index 03d0e71..5625a2c 100644
--- a/cli/cli_trim.cpp
+++ b/cli/cli_trim.cpp
@@ -124,7 +124,7 @@ enum {
 };
 
 const static char *
-shortOptions = "ho:x";
+shortOptions = "aho:x";
 
 const static struct option
 longOptions[] = {
-- 
1.7.10.4



More information about the apitrace mailing list