Skip to content

Commit

Permalink
Deprecate fusesoc init
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Feb 25, 2021
1 parent 549ed43 commit c23d2c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fusesoc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ def fetch(cm, args):


def init(cm, args):
warnings.warn(
"The 'init' subcommand is deprecated and will be removed in the next "
"release. It was intended to fetch the FuseSoC standard library. This can be done with 'fusesoc library add fusesoc_cores https://github.com/fusesoc/fusesoc-cores' instead.",
FutureWarning,
)
# Fix Python 2.x.
global input
try:
Expand Down Expand Up @@ -554,7 +559,7 @@ def parse_args():

# init subparser
parser_init = subparsers.add_parser(
"init", help="Initialize the FuseSoC core libraries"
"init", help="Initialize the FuseSoC core libraries. DEPRECATED"
)
parser_init.add_argument(
"-y", action="store_true", help="Skip user input and use default settings"
Expand Down

0 comments on commit c23d2c3

Please sign in to comment.