mirror of
https://github.com/NixOS/nix
synced 2025-07-03 18:41:47 +02:00
Minor updates to inline comments
Add missing docstring on InstallableCommand. Also, some of these were wrapped when they're right next to a line longer than the unwrapped line, so we can just unwrap them to save vertical space.
This commit is contained in:
parent
e5319a87ce
commit
80d5ec6ff4
5 changed files with 10 additions and 18 deletions
|
@ -632,8 +632,7 @@ static void opDelete(Strings opFlags, Strings opArgs)
|
|||
}
|
||||
|
||||
|
||||
/* Dump a path as a Nix archive. The archive is written to standard
|
||||
output. */
|
||||
/* Dump a path as a Nix archive. The archive is written to stdout */
|
||||
static void opDump(Strings opFlags, Strings opArgs)
|
||||
{
|
||||
if (!opFlags.empty()) throw UsageError("unknown flag");
|
||||
|
@ -646,8 +645,7 @@ static void opDump(Strings opFlags, Strings opArgs)
|
|||
}
|
||||
|
||||
|
||||
/* Restore a value from a Nix archive. The archive is read from
|
||||
standard input. */
|
||||
/* Restore a value from a Nix archive. The archive is read from stdin. */
|
||||
static void opRestore(Strings opFlags, Strings opArgs)
|
||||
{
|
||||
if (!opFlags.empty()) throw UsageError("unknown flag");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue