test1461 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. --help
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. </reply>
  11. #
  12. # Client-side
  13. <client>
  14. <server>
  15. none
  16. </server>
  17. <name>
  18. curl important --help
  19. </name>
  20. <command>
  21. --help
  22. </command>
  23. </client>
  24. #
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <errorcode>
  28. 0
  29. </errorcode>
  30. <stdout mode="text">
  31. Usage: curl [options...] <url>
  32. -d, --data <data> HTTP POST data
  33. -f, --fail Fail fast with no output on HTTP errors
  34. -h, --help <category> Get help for commands
  35. -i, --include Include protocol response headers in the output
  36. -o, --output <file> Write to file instead of stdout
  37. -O, --remote-name Write output to a file named as the remote file
  38. -s, --silent Silent mode
  39. -T, --upload-file <file> Transfer local FILE to destination
  40. -u, --user <user:password> Server user and password
  41. -A, --user-agent <name> Send User-Agent <name> to server
  42. -v, --verbose Make the operation more talkative
  43. -V, --version Show version number and quit
  44. This is not the full help, this menu is stripped into categories.
  45. Use "--help category" to get an overview of all categories.
  46. For all options use the manual or "--help all".
  47. </stdout>
  48. </verify>
  49. </testcase>