aboutsummaryrefslogtreecommitdiff
path: root/toys/example/test_many_options.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-10-31 15:51:02 -0500
committerRob Landley <rob@landley.net>2017-10-31 15:51:02 -0500
commite913247fec162437920266182834aedadcb03004 (patch)
tree8f61ef4d6dfdb0d256279d4e5e34347f498aa13b /toys/example/test_many_options.c
parentb2d8cf906502226904e149e20279a899ba22e035 (diff)
downloadtoybox-e913247fec162437920266182834aedadcb03004.tar.gz
Rename test_*.c to demo_*.c (because "make test_$CMD" means something already),
fluff out README, and add a comment to hostid explaining its deprecation.
Diffstat (limited to 'toys/example/test_many_options.c')
-rw-r--r--toys/example/test_many_options.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/toys/example/test_many_options.c b/toys/example/test_many_options.c
deleted file mode 100644
index e071d26c..00000000
--- a/toys/example/test_many_options.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* test_many_options.c - test more than 32 bits worth of option flags
- *
- * Copyright 2015 Rob Landley <rob@landley.net>
-
-USE_TEST_MANY_OPTIONS(NEWTOY(test_many_options, "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba", TOYFLAG_BIN))
-
-config TEST_MANY_OPTIONS
- bool "test_many_options"
- default n
- help
- usage: test_many_options -[a-zA-Z]
-
- Print the optflags value of the command arguments, in hex.
-*/
-
-#define FOR_test_many_options
-#include "toys.h"
-
-void test_many_options_main(void)
-{
- xprintf("optflags=%llx\n", toys.optflags);
-}