Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
srp3rd committed Oct 2, 2019
1 parent b5fd613 commit 4f151c1
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions doc/lsst.ctrl.oods/oods-cli.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
#########
ctrl_oods
#########
usage: oods.py [[-c config][-y config]] [-v]
usage: oods.py [-y] [-l {DEBUG,INFO,WARN,ERROR,FATAL}] [config]

Options:

.. code:: bash
\-c
config use specified OODS YAML configuration file
\-y
config validate YAML configuration file
\-v
give verbose output
\-h
show this help message and exit
\-l [{DEBUG,INFO,WARN,ERROR,FATAL}]
print logging statements


Set up and usage
================

1) Create the Gen2 Butler repository:

.. prompt:: bash
.. code:: bash
mkdir repo
echo "lsst.obs.lsst.auxTel.AuxTelMapper" > repo/_mapper
Expand All @@ -34,9 +35,7 @@ Set up and usage

.. code:: bash
nohup $CTRL_OODS_DIR/oods.py -c oods.yaml 2>&1 >oods.log
nohup $CTRL_OODS_DIR/bin/oods.py $CTRL_OODS_DIR/etc/oods.yaml 2>&1 >oods.log
NOTE: if you run the OODS without modifying the directory paths, it expects to scan for files in the directory in which the OODS has been invoked.
It will scan the directory "data" and use the Gen2 Butler repository "repo" by default.


0 comments on commit 4f151c1

Please sign in to comment.