Skip to content

Commit

Permalink
Make regions optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshw5 committed Sep 9, 2014
1 parent 1da84bb commit 5792758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfaidx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main():
parser = argparse.ArgumentParser(description="Fetch sequence from "
"faidx-indexed FASTA")
parser.add_argument('fasta', type=str, help='FASTA file')
parser.add_argument('regions', type=str, nargs='*',
parser.add_argument('regions', type=str, nargs='?',
help="space separated regions of sequence to "
"fetch e.g. chr1:1-1000")
parser.add_argument('-b', '--bed', type=argparse.FileType('r'), help="bed file of regions")
Expand Down

0 comments on commit 5792758

Please sign in to comment.