Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
a534c286
Commit
a534c286
authored
Aug 09, 2011
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add help printer file
parent
694fc922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
help_printer.py
src/help_printer.py
+40
-0
No files found.
src/help_printer.py
0 → 100644
View file @
a534c286
# -*- coding: utf-8 -*-
#
# Copyright (c) 2011 Pawel Szostek (pawel.szostek@cern.ch)
#
# This source code is free software; you can redistribute it
# and/or modify it in source code form under the terms of the GNU
# General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
#
import
msg
as
p
class
HelpPrinter
():
@
staticmethod
def
print_action_help
():
p
.
rawprint
(
"`Action' variable was not specified"
)
p
.
rawprint
(
"Allowed values are:
\"
simulation
\"
or
\"
synthesis
\"
"
)
p
.
rawprint
()
p
.
rawprint
(
"This variable in a manifest file is necessary for Hdlmake "
\
"to be able to know what to do with the given modules' structure."
)
HelpPrinter
.
__more
()
@
staticmethod
def
__more
():
p
.
rawprint
(
"For more help type `hdlmake --help' "
\
"or visit http://www.ohwr.org/projects/hdl-make"
)
if
__name__
==
"__main__"
:
hp
=
HelpPrinter
hp
.
print_action_help
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment