Changeset View
Changeset View
Standalone View
Standalone View
support/unit/lock.php
#!/usr/bin/env php | #!/usr/bin/env php | ||||
<?php | <?php | ||||
$arcanist_root = dirname(dirname(dirname(__FILE__))); | $arcanist_root = dirname(dirname(__DIR__)); | ||||
require_once $arcanist_root.'/support/init/init-script.php'; | require_once $arcanist_root.'/support/init/init-script.php'; | ||||
$args = new PhutilArgumentParser($argv); | $args = new PhutilArgumentParser($argv); | ||||
$args->setTagline(pht('acquire and hold a lockfile')); | $args->setTagline(pht('acquire and hold a lockfile')); | ||||
$args->setSynopsis(<<<EOHELP | $args->setSynopsis(<<<EOHELP | ||||
**lock.php** __file__ [__options__] | **lock.php** __file__ [__options__] | ||||
Acquire a lockfile and hold it until told to unlock it. | Acquire a lockfile and hold it until told to unlock it. | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0