ostree admin: Add a --print-current-dir option

Add an option --print-current-dir that prints the current deployment
directory to stdout and exits.

https://bugzilla.gnome.org/show_bug.cgi?id=731051
This commit is contained in:
Owen W. Taylor committed 2014-09-26 10:40:38 -04:00
1 parent 262cba09c0
commit d64d003af0
2 files changed
+43 -4

No files matched your search

+7
View File
@@ -97,6 +97,13 @@ Boston, MA 02111-1307, USA.
<term><option>--sysroot</option>="PATH"</term>
<listitem><para>Creates a new OSTree sysroot at PATH</para></listitem>
</varlistentry>
<varlistentry>
<term><option>--print-current-dir</option></term>
<listitem><para>
Prints the full path to the deployment directory for the currently active deployment in the specified sysroot to standard out. This is incompatible with specifying a subcommand.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
</refentry>