nix edit / log: Operate on a single Installable
This commit is contained in:
parent
9b82ecbae0
commit
e9c07a3b26
6 changed files with 109 additions and 98 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include "shared.hh"
|
||||
#include "store-api.hh"
|
||||
#include "progress-bar.hh"
|
||||
#include "finally.hh"
|
||||
|
||||
extern std::string chrootHelperName;
|
||||
|
||||
|
|
@ -84,6 +85,8 @@ void mainWrapped(int argc, char * * argv)
|
|||
|
||||
if (!args.command) args.showHelpAndExit();
|
||||
|
||||
Finally f([]() { stopProgressBar(); });
|
||||
|
||||
if (isatty(STDERR_FILENO))
|
||||
startProgressBar();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue