2TO3-2.7(1) User Commands 2TO3-2.7(1)NAME
2to3-2.7 - manual page for 2to3-2.7 2.7
SYNOPSIS
2to3 [options] file|dir ...
OPTIONS -h, --help
show this help message and exit
-d, --doctests_only
Fix up doctests only
-f FIX, --fix=FIX
Each FIX specifies a transformation; default: all
-j PROCESSES, --processes=PROCESSES
Run 2to3 concurrently
-x NOFIX, --nofix=NOFIX
Prevent a transformation from being run
-l, --list-fixes
List available transformations
-p, --print-function
Modify the grammar so that print() is a function
-v, --verbose
More verbose logging
--no-diffs
Don't show diffs of the refactoring
-w, --write
Write back modified files
-n, --nobackups
Don't write backups for modified files
2to3-2.7 2.7 May 2011 2TO3-2.7(1)
Check Out this Related Man Page
GLANCE-CONTROL(1) Glance GLANCE-CONTROL(1)NAME
glance-control - Glance Daemon Control Helper
GLANCE DAEMON START /STOP/RELOAD HELPER
SYNOPSIS
glance-control [options] <SERVER> <COMMAND> [CONFPATH]
Where <SERVER> is one of:
all, api, registry, scrubber
And command is one of:
start, stop, shutdown, restart, reload, force-reload
And CONFPATH is the optional configuration file to use.
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
--config-file=PATH
Path to a config file to use. Multiple config files can be specified, with values in later files taking precedence. The default
files used are: []
-d, --debug
Print debugging output
--nodebug
Do not print debugging output
-v, --verbose
Print more verbose output
--noverbose
Do not print more verbose output
--log-config=PATH
If this option is specified, the logging configuration file specified is used and overrides any other logging options specified.
Please see the Python logging module documentation for details on logging configuration files.
--log-format=FORMAT
A logging.Formatter log message format string which may use any of the available logging.LogRecord attributes. Default: none
--log-date-format=DATE_FORMAT
Format string for %(asctime)s in log records. Default: none
--log-file=PATH
(Optional) Name of log file to output to. If not set, logging will go to stdout.
--log-dir=LOG_DIR
(Optional) The directory to keep log files in (will be prepended to --logfile)
--use-syslog
Use syslog for logging.
--nouse-syslog
Do not use syslog for logging.
--syslog-log-facility=SYSLOG_LOG_FACILITY
syslog facility to receive log lines
--pid-file=PATH
File to use as pid file. Default: /var/run/glance/$server.pid
SEE ALSO
o OpenStack Glance
BUGS
o Glance is sourced in Launchpad so you can view current bugs at OpenStack Glance
AUTHOR
OpenStack
COPYRIGHT
2010-present, OpenStack, LLC.
2012.1.1 March 14, 2013 GLANCE-CONTROL(1)
Right, noob to shell scripting, playing a round for practice, wrote the following but it doesn't seem to work as expected, how could I fix/improve this script?
#!/bin/bash
#set -v
#set -x
case $# in
1)
echo Searching for $1 in '*';
find . -iname '*' 2>/dev/null | xargs grep "$1" -sl... (3 Replies)
Actually I have installed python 3.2.
It seems there are a lot of synta variance between 2.2 and 3.2.
Is it possible to run a script in 2.2 without actually installing 2.2.
But I have installed 3.2.
and also is it possible to access the 2.2 shell in 3.2 version.
I am naive in python .
Please... (1 Reply)
Upon opening Terminal I get the following message:
-bash: /usr/bin/manpath: No such file or directory
-bash: /usr/bin/perl: No such file or directory
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
I searched... (9 Replies)
Mac users...
I updated this MBP from OSX 10.12.1 to the brand new OSX 10.12.2 two days ago.
A week ago I installed the Xcode suite.
Now the QT shell audio capture in another recent thread is broken when exporting a file.
It gives an error in a window, paraphrasing, The action is not... (4 Replies)
Hello everyone,
I have just started python, and there is something that escapes me. I don't understand why my little script doesn't work.
When I do, it work:
my_string = "bonjour"
if len(my_string) < "6":
print(my_string + " < 6")
else:
print(my_string + " > 6")
... (2 Replies)
I am new to shell scripting and I ran into a couple lines of code which I don't completely understand:
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/entity/bin
data_dir=/usr/local/entity/projectI believe data_dir to be a more conventional link to a directory. However, I am not sure what PATH... (12 Replies)