Summary: It also disables `arc download F7312-rainbow`.
Test Plan:
arc download D8O88
arc download F7312-rainbow
arc download F7312
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1768
<?php
/*
- * Copyright 2011 Facebook, Inc.
+ * Copyright 2012 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
$file = reset($argv);
- if (!preg_match('/^F?\d+/', $file)) {
+ if (!preg_match('/^F?\d+$/', $file)) {
throw new ArcanistUsageException("Specify file by ID, e.g. F123.");
}