

def myargs(parser):
    parser.add_argument("--num-jobs", type=int,
                        default=1, help="Number of concurrent jobs to process.")
    parser.add_argument("--cores-per-job", type=int,
                        default=1, help="Number of cores to use.")
    parser.add_argument("--memory-per-job", default=2, help="Memory in GB to reserve per job.")
    parser.add_argument("--timeout", default=15, help="Time to wait before giving up starting.")
    parser.add_argument("--scheduler", default=None, help="Type of scheduler to use.",
                        choices=["lsf", "slurm", "torque", "sge"])
    parser.add_argument("--resources", default=None, help="Extra scheduler resource flags.")
    parser.add_argument("--queue", default=None, help="Queue to submit jobs to.")
    parser.add_argument("--parallel", choices=["local", "ipython"], default="local",
                        help="Run in parallel on a local machine.")
    parser.add_argument("--local", action="store_true",
                        default=False, help="Run parallel locally")
    return parser

@@ -39,16 +39,22 @@
 rgument(
+%22-n%22, 
 %22--num-j
@@ -487,16 +487,22 @@
 rgument(
+%22-s%22, 
 %22--sched
@@ -647,16 +647,22 @@
 rgument(
+%22-r%22, 
 %22--resou
@@ -746,16 +746,22 @@
 rgument(
+%22-q%22, 
 %22--queue
@@ -834,16 +834,22 @@
 rgument(
+%22-t%22, 
 %22--paral

add short arguments names