OpenCores
URL https://opencores.org/ocsvn/marca/marca/trunk

Subversion Repositories marca

[/] [marca/] [tags/] [INITIAL/] [spar/] [ui.c] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 jeunes2
/* This file is part of the assembler "spar" for marca.
2
   Copyright (C) 2007 Wolfgang Puffitsch
3
 
4
   This program is free software; you can redistribute it and/or modify it
5
   under the terms of the GNU Library General Public License as published
6
   by the Free Software Foundation; either version 2, or (at your option)
7
   any later version.
8
 
9
   This program is distributed in the hope that it will be useful,
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
   Library General Public License for more details.
13
 
14
   You should have received a copy of the GNU Library General Public
15
   License along with this program; if not, write to the Free Software
16
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA */
17
 
18
#include <getopt.h>
19
 
20
#include "ui.h"
21
 
22
const char * const options = "hvo:0:1:c:d:r:f:inlmse";
23
 
24
const struct option long_options [] = {
25
  { "help",       no_argument,       0, 'h' },
26
  { "version",    no_argument,       0, 'v' },
27
  { "output",     required_argument, 0, 'o' },
28
  { "rom0file",   required_argument, 0, '0' },
29
  { "rom1file",   required_argument, 0, '1' },
30
  { "codesize",   required_argument, 0, 'c' },
31
  { "datasize",   required_argument, 0, 'd' },
32
  { "romsize",    required_argument, 0, 'r' },
33
  { "filler",     required_argument, 0, 'f' },
34
  { "intel",      no_argument,       0, 'i' },
35
  { "dryrun",     no_argument,       0, 'n' },
36
  { "download",   no_argument,       0, 'l' },
37
  { "nointel",    no_argument,       0, 'm' },
38
  { "nostart",    no_argument,       0, 's' },
39
  { "noend",      no_argument,       0, 'e' }
40
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.