Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
# OLD: # if we need to run a command that doesn't require fully parsing the config file, do it now (and exit) if (!defined($cmd) or ((!$cmd) && ('0' ne $cmd))) { show_usage(); } elsif ($cmd eq 'help') { show_help(); } elsif ($cmd eq 'version') { show_version(); } elsif ($cmd eq 'version-only') { show_version_only(); } elsif ($cmd eq 'check-config-version') { check_config_version(); } elsif ($cmd eq 'upgrade-config-file') { upgrade_config_file(); } # NEW: # if we need to run a command that doesn't require fully parsing the config file, do it now (and exit) for ($cmd) { show_usage() if !defined($_) or ((!$_) && ('0' ne $_)); show_help() if /help/; show_version() if /version/; show_version_only() if /version-only/; check_config_version() if /check-config-version/; upgrade_config_file() if /upgrade-config-file/; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)