Commit 877aa6a9 authored by jan.koester's avatar jan.koester
Browse files

test

parent 9a398b50
Loading
Loading
Loading
Loading
+6 −3
Changes for commands/system/cpio.cpp: 6 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -46,9 +46,9 @@ namespace fresh { namespace cmd {
    // "cpio -o -H newc": reads NUL/newline-separated pathnames from stdin
    // (as produced by "find ..."), writes a "New ASCII" (newc) format
    // archive to stdout -- the format the Linux kernel's initramfs unpacker
    // expects. Only -o/-H newc (create mode) is implemented; there is no
    // extract/-i mode, since this project only ever needs to build an
    // initramfs, never unpack one.
    // expects. Create mode supports -o/-H newc, and pass-through mode supports
    // copying pathname lists into a destination tree. Archive extraction and
    // listing are not implemented.
    class CpioCommand : public ShellCommand {
    public:
        CpioCommand():ShellCommand("cpio"){}
@@ -308,6 +308,9 @@ namespace fresh { namespace cmd {
                {"verbose",no_argument,nullptr,'v'},
                {"quiet",no_argument,nullptr,'q'},
                {"null",no_argument,nullptr,'0'},
                {"make-directories",no_argument,nullptr,'d'},
                {"unconditional",no_argument,nullptr,'u'},
                {"preserve-modification-time",no_argument,nullptr,'m'},
                {"help",no_argument,nullptr,1000},
                {"usage",no_argument,nullptr,1001},
                {nullptr,0,nullptr,0}