Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cli.yml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: "Proof of Work Mechanism 0.2"
  2. author: "Lorenz Bung & Joshua Rutschmann"
  3. about: "now the basics in Rust, no C anymore"
  4. args:
  5. - base:
  6. value_name: "base"
  7. help: "Sets the base to use"
  8. takes_value: true
  9. required: true
  10. - difficulty:
  11. value_name: "difficulty"
  12. help: "Sets the difficulty to use"
  13. takes_value: true
  14. required: true
  15. - threads:
  16. value_name: "threads"
  17. help: "Sets the number of the threads to use (default = number of cpus)"
  18. takes_value: true
  19. required: false
  20. - verbose:
  21. short: "v"
  22. help: "Prints help information"
  23. multiple: true
  24. required: false
  25. - sync:
  26. short: "s"
  27. long: "sync"
  28. help: "enables sync when solution found"
  29. required: false
  30. - wait:
  31. short: "w"
  32. long: "wait"
  33. help: "consumer waits for all producers"
  34. required: false
  35. - special:
  36. long: "special"
  37. value_name: "VALUE"
  38. help: "sets special sync parameter"
  39. takes_value: true
  40. subcommands:
  41. - timings:
  42. about: "controls timing features"
  43. version: "1.0"
  44. author: "Lorenz Bung & Joshua Rutschmann"