From 3537f5ae32d76f0347a1f2072b52faf7e81cdecb Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 7 Oct 2019 19:32:21 +0100 Subject: [PATCH] improve --help output --- src/main.cpp | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 3795249c1..059aaddc6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -118,9 +118,16 @@ int main(int argc, char *argv[]) cout << "Usage: Fritzing [-f FOLDER] [OPTION]... [FILE]\n" "\n" + "Fritzing is an open-source hardware initiative that makes electronics accessible as a creative material for anyone. " + "We offer this software tool, a community website and services in the spirit of Processing and Arduino, " + "fostering a creative ecosystem that allows users to document their prototypes, share them with others, " + "teach electronics in a classroom, and layout and manufacture professional PCBs.\n" + "\n" + "For more information on Fritzing and its related activities visit .\n" + "\n" "Options:\n" "\n" - "user options:\n" + "User options:\n" " -d, -debug run Fritzing in debug mode, providing additional debug information\n" //" drc filename : runs a design rule check on the given sketch file\n" " -f, -folder FOLDER use Fritzing parts, sketches, bins and translations in folders under FOLDER\n" @@ -132,24 +139,30 @@ int main(int argc, char *argv[]) " -port NUMBER run Fritzing as a server process on port NUMBER\n" " -svg FOLDER export all sketches in FOLDER to SVGs of all views, in the same folder\n" "\n" - "developer options:\n" + "Administrator option:\n" " -db, -database FILE rebuild the internal parts database FILE\n" + "\n" + "Developer options:\n" " -e, -examples FOLDER prepare all sketches in FOLDER to be included as examples\n" - " -ep FILE external process at FILE\n" - " -eparg ARGS external process arguments ARGS\n" - " -epname NAME external process menu item NAME\n" + " -ep FILE add menu item for external process using executable FILE\n" + " -eparg ARGS with -ep, external process arguments ARGS\n" + " -epname NAME with -ep, external process menu item NAME\n" "\n" - "The -geda/-kicad/-kicadschematic/-gerber/svg options all exit Fritzing after the conversion process is complete;\n" + "The -geda, -kicad, -kicadschematic, -gerber SVG options all exit Fritzing after the conversion process is complete;\n" "these options are mutually exclusive.\n" "\n" +#ifndef PKGDATADIR "Usually, the Fritzing executable is stored in the same folder that contains the parts/bins/sketches/translations folders,\n" "or the executable is in a child folder of the p/b/s/t folder.\n" "If this is not the case, use the -f option to point to the p/b/s/t folder.\n" "\n" +#endif "The -ep option creates a menu item to launch an external process,\n" "and puts the standard output of that process into a dialog window in Fritzing.\n" "The process path follows the -ep argument; the name of the menu item follows the -epname argument;\n" - "and any arguments to pass to the external process are provided in the -eparg arguments.\n"; + "and any arguments to pass to the external process are provided in the -eparg arguments.\n" + "\n" + "Report bugs or suggest improvements using the issue tracker or the user forum .\n"; break; } case FInitResultVersion: {