Changeset View
Changeset View
Standalone View
Standalone View
support/unit/lock.php
- This file was moved from scripts/utils/lock.php.
#!/usr/bin/env php | #!/usr/bin/env php | ||||
<?php | <?php | ||||
require_once dirname(__FILE__).'/../__init_script__.php'; | $arcanist_root = dirname(dirname(dirname(__FILE__))); | ||||
require_once $arcanist_root.'/scripts/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. | ||||
EOHELP | EOHELP | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |