comparison OrthancServer/Sources/main.cpp @ 4290:fa5c5d3c8e75

improving manpage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 07:21:43 +0100
parents 58e757ded69e
children 7e05ad57d7a1
comparison
equal deleted inserted replaced
4289:dd17d37ad950 4290:fa5c5d3c8e75
619 << "Orthanc, lightweight, RESTful DICOM server for healthcare and medical research." << std::endl 619 << "Orthanc, lightweight, RESTful DICOM server for healthcare and medical research." << std::endl
620 << std::endl 620 << std::endl
621 << "The \"CONFIGURATION\" argument can be a single file or a directory. In the " << std::endl 621 << "The \"CONFIGURATION\" argument can be a single file or a directory. In the " << std::endl
622 << "case of a directory, all the JSON files it contains will be merged. " << std::endl 622 << "case of a directory, all the JSON files it contains will be merged. " << std::endl
623 << "If no configuration path is given on the command line, a set of default " << std::endl 623 << "If no configuration path is given on the command line, a set of default " << std::endl
624 << "parameters is used. Please refer to the Orthanc homepage for the full " << std::endl 624 << "parameters is used. Please refer to the Orthanc Book for the full " << std::endl
625 << "instructions about how to use Orthanc <http://www.orthanc-server.com/>." << std::endl 625 << "instructions about how to use Orthanc <http://book.orthanc-server.com/>." << std::endl
626 << std::endl
627 << "Pay attention to the fact that the order of the options is important." << std::endl
628 << "Options are read left to right. In particular, options such as \"--verbose\" can " << std::endl
629 << "reset the value of other log-related options that were read before." << std::endl
630 << std::endl
631 << "The recommended set of options to debug DICOM communications is "
632 << "\"--verbose --trace-dicom --logfile=dicom.log\"" << std::endl
626 << std::endl 633 << std::endl
627 << "Command-line options:" << std::endl 634 << "Command-line options:" << std::endl
628 << " --help\t\tdisplay this help and exit" << std::endl 635 << " --help\t\tdisplay this help and exit" << std::endl
629 << " --logdir=[dir]\tdirectory where to store the log files" << std::endl 636 << " --logdir=[dir]\tdirectory where to store the log files" << std::endl
630 << "\t\t\t(by default, the log is dumped to stderr)" << std::endl 637 << "\t\t\t(by default, the log is dumped to stderr)" << std::endl
631 << " --logfile=[file]\tfile where to store the log of Orthanc" << std::endl 638 << " --logfile=[file]\tfile where to store the log of Orthanc" << std::endl
632 << "\t\t\t(by default, the log is dumped to stderr)" << std::endl 639 << "\t\t\t(by default, the log is dumped to stderr)" << std::endl
633 << " --config=[file]\tcreate a sample configuration file and exit" << std::endl 640 << " --config=[file]\tcreate a sample configuration file and exit" << std::endl
634 << "\t\t\t(if file is \"-\", dumps to stdout)" << std::endl 641 << "\t\t\t(if \"file\" is \"-\", dumps to stdout)" << std::endl
635 << " --errors\t\tprint the supported error codes and exit" << std::endl 642 << " --errors\t\tprint the supported error codes and exit" << std::endl
636 << " --verbose\t\tbe verbose in logs" << std::endl 643 << " --verbose\t\tbe verbose in logs" << std::endl
637 << " --trace\t\thighest verbosity in logs (for debug)" << std::endl 644 << " --trace\t\thighest verbosity in logs (for debug)" << std::endl
638 << " --upgrade\t\tallow Orthanc to upgrade the version of the" << std::endl 645 << " --upgrade\t\tallow Orthanc to upgrade the version of the" << std::endl
639 << "\t\t\tdatabase (beware that the database will become" << std::endl 646 << "\t\t\tdatabase (beware that the database will become" << std::endl