<xi:include href="version-info.xml" xpointer="v259"/></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--same-root-dir</option></term>
+
+ <listitem><para>Execute the <command>run0</command> session in the same root directory that the
+ <command>run0</command> command is executed in.</para>
+
+ <xi:include href="version-info.xml" xpointer="v259"/></listitem>
+ </varlistentry>
+
<varlistentry>
<term><option>--machine=</option></term>
ARG_AREA,
ARG_VIA_SHELL,
ARG_EMPOWER,
+ ARG_SAME_ROOT_DIR,
};
/* If invoked as "run0" binary, let's expose a more sudo-like interface. We add various extensions
{ "lightweight", required_argument, NULL, ARG_LIGHTWEIGHT },
{ "area", required_argument, NULL, ARG_AREA },
{ "empower", no_argument, NULL, ARG_EMPOWER },
+ { "same-root-dir", no_argument, NULL, ARG_SAME_ROOT_DIR },
{},
};
arg_empower = true;
break;
+ case ARG_SAME_ROOT_DIR:
+ r = free_and_strdup_warn(&arg_root_directory, "/");
+ if (r < 0)
+ return r;
+
+ break;
+
case '?':
return -EINVAL;