]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
ADD: @marshmellow42 's help text changes to the reveng
authoriceman1001 <iceman@iuse.se>
Thu, 18 Jun 2015 07:52:25 +0000 (09:52 +0200)
committericeman1001 <iceman@iuse.se>
Thu, 18 Jun 2015 07:52:25 +0000 (09:52 +0200)
client/reveng/cli.c

index fe1155d4b2abb5d7bedff38a30736cbe5fa8a9b4..9931929d2a7d883dd879f3a65185a0b2a7f08e0a 100644 (file)
@@ -605,7 +605,19 @@ usage(void) {
                        "\t-c calculate CRCs\t\t-d dump algorithm parameters\n"
                        "\t-D list preset algorithms\t-e echo (and reformat) input\n"
                        "\t-s search for algorithm\t\t-v calculate reversed CRCs\n"
-                       "\t-h | -u | -? show this help\n"
+                       "\t-g search for alg given hex+crc\t-h | -u | -? show this help\n"
+                       "Common Use Examples:\n"
+                       "\t   reveng -g 01020304e3\n"
+                       "\t      Searches for a known/common crc preset that computes the crc\n"
+                       "\t      on the end of the given hex string\n"
+                       "\t   reveng -w 8 -s 01020304e3 010204039d\n"
+                       "\t      Searches for any possible 8 bit width crc calc that computes\n"
+                       "\t      the crc on the end of the given hex string(s)\n"
+                       "\t   reveng -m CRC-8 -c 01020304\n"
+                       "\t      Calculates the crc-8 of the given hex string\n"
+                       "\t   reveng -D\n"
+                       "\t      Outputs a list of all known/common crc models with their\n"
+                       "\t      preset values\n"
                        "\n"
                        "Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  Gregory Cook\n"
                        "This is free software; see the source for copying conditions.  There is NO\n"
Impressum, Datenschutz