]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
remote: add "sync" sub-command to perform changes
authorSimon Ruderich <simon@ruderich.org>
Tue, 6 Apr 2021 09:44:47 +0000 (11:44 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 7 Apr 2021 05:48:14 +0000 (07:48 +0200)
Performing the changes when no command line arguments were given became
problematic in ddd21f0 (remote: add ainsl sub-command ("append if no
such line"), 2021-04-04). With "ainsl" as sub-command a user might be
tempted to run the helper manually to test it. But running it without
any arguments causes it to hang (waiting for commands from stdin) which
is confusing. Instead, use the new separate "sync" sub-command to
perform the changes and abort when no sub-command is given.


No differences found