Here are some valid uses of the Curl executable file named "surge-do" :
/opt/curl/surge/9/bin/surge-do --edit "%1"
/opt/curl/surge/9/bin/surge-do --launch "%1"
/opt/curl/surge/9/bin/surge-do --browse "%1"
/opt/curl/surge/9/bin/surge-do --open "%1"
Running curl itself in that ./bin as ./curl --help would give you
Usage:
-h --help : Prints a Usage message to stdout and exits.
-v --version : Prints a version-number to stdout and exits.
--lazy-compilation : Requests that certain methods should be compiled lazily (normally the default).
-l --no-lazy-compilation : Requests that no methods should be compiled lazily (the opposite of --lazy-compilation).
--lazy-types : Requests that certain types should be compiled lazily (normally the default).
-t --no-lazy-types : Requests that no types should be compiled lazily (the opposite of '--lazy-types').
--show-gc : Report GC information to the console.
--verify-integrity : Enable extra verifications of internal integrity.
--host-console : Force use of the host console.
--trust : Trust all applets.
--graphics-info : Show a description of the available graphics driver, then exit.
--force-graphics-hw : Force use of the native graphics driver, even if it may be unstable.
--safe-graphics : Force use of the software graphics.
-- : Halts option-parsing. The rest of the arguments are passed directly on to the application.
--batch-mode : Run in batch mode (dialog boxes and such are illegal).
-D --use-console-debugger: Enable use of the console debugger.
--no-use-console-debugger: Disable use of the console debugger.
--resync : Force resynchronization of all files as of process start time.
--tag-console : Tag each line of console output with the time and thread.
--debug : Activate additional debug code in the given package.
--debug-graphics : Activate additional debug code in the graphics system.
--sse2 : Enable generation of SSE2 instructions.
--no-sse2 : Disable generation of SSE2 instructions.
--cache : Enable persistent caching of packages.
-H --default-heap-size : Set default starting heap size (e.g. 6M or 3200K).
-i --redirect-stdin : Redirect standard-input from a file.
-o --redirect-stdout : Redirect (append) standard-output to a file.
-e --redirect-stderr : Redirect (append) standard-error to a file.
--utf8-stdin : Use UTF8 character encoding for 'stdin'.
--utf8-stdout : Use UTF8 character encoding for 'stdout'.
--utf8-stderr : Use UTF8 character encoding for 'stderr'.
--privileged : Run with 'privilege'.
--unprivileged : Run without 'privilege'.
--preload : Preload a given file (using evaluate).
--eval : Evaluate a string.
-s --shell : Enter interactive shell mode.
--default-exit : Default exit value for scripts.
--do-not-panic : Do not panic. Just abort instead.
The flag -l is used when running a .xcurl script
[ more to follow]
No comments:
Post a Comment